LlmapiChatCompletionRequest
LlmapiChatCompletionRequest =
object
Defined in: src/client/types.gen.ts:1384
Properties
conversation_id?
optionalconversation_id:string
Defined in: src/client/types.gen.ts:1389
ConversationID groups requests belonging to the same conversation for observability. Pass-through only — not forwarded to the LLM provider.
image_model?
optionalimage_model:string
Defined in: src/client/types.gen.ts:1394
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:1398
Messages is the conversation history
model
model:
string
Defined in: src/client/types.gen.ts:1402
Model is the model identifier
stream?
optionalstream:boolean
Defined in: src/client/types.gen.ts:1406
Stream indicates if response should be streamed
tool_choice?
optionaltool_choice:LlmapiChatCompletionToolChoice
Defined in: src/client/types.gen.ts:1407
tools?
optionaltools:LlmapiChatCompletionTool[]
Defined in: src/client/types.gen.ts:1411
Tools is an array of tool schemas describing which tools the model can use