apollo-code / provider-kit/src / ProviderRequest
Interface: ProviderRequest
Properties
cache?
optionalcache?:object
strategy
strategy:
"ephemeral"|"persistent"|"off"
ttlSeconds?
optionalttlSeconds?:number
maxTokens?
optionalmaxTokens?:number
messages
messages: readonly
Message[]
model
model:
string
rawMeta?
optionalrawMeta?:RawMeta
reasoning?
optionalreasoning?:object
budgetTokens?
optionalbudgetTokens?:number
enabled
enabled:
boolean
responseFormat?
optionalresponseFormat?:"text"|"json"
stopSequences?
optionalstopSequences?:string[]
streamResume?
optionalstreamResume?:StreamResumeRequest
system?
optionalsystem?:string
temperature?
optionaltemperature?:number
toolChoice?
optionaltoolChoice?:"none"| {name:string; } |"auto"|"required"
tools?
optionaltools?:ToolSchema[]
topP?
optionaltopP?:number