LlmapiChatCompletionRequest
LlmapiChatCompletionRequest =
object
Defined in: src/client/types.gen.ts:1757
Properties
conversation_id?
optionalconversation_id:string
Defined in: src/client/types.gen.ts:1762
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:1767
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:1771
Messages is the conversation history
model
model:
string
Defined in: src/client/types.gen.ts:1775
Model is the model identifier
stream?
optionalstream:boolean
Defined in: src/client/types.gen.ts:1779
Stream indicates if response should be streamed
tool_choice?
optionaltool_choice:LlmapiChatCompletionToolChoice
Defined in: src/client/types.gen.ts:1780
tools?
optionaltools:LlmapiChatCompletionTool[]
Defined in: src/client/types.gen.ts:1784
Tools is an array of tool schemas describing which tools the model can use