LlmapiChatCompletionRequest
LlmapiChatCompletionRequest =
object
Defined in: src/client/types.gen.ts:994
Properties
image_model?
optionalimage_model:string
Defined in: src/client/types.gen.ts:999
ImageModel is the user-selected image generation model. When set, the portal overrides the model field in image tool call arguments.
messages
messages:
LlmapiMessage[]
Defined in: src/client/types.gen.ts:1003
Messages is the conversation history
model
model:
string
Defined in: src/client/types.gen.ts:1007
Model is the model identifier
stream?
optionalstream:boolean
Defined in: src/client/types.gen.ts:1011
Stream indicates if response should be streamed
tool_choice?
optionaltool_choice:LlmapiChatCompletionToolChoice
Defined in: src/client/types.gen.ts:1012
tools?
optionaltools:LlmapiChatCompletionTool[]
Defined in: src/client/types.gen.ts:1016
Tools is an array of tool schemas describing which tools the model can use