Skip to Content

LlmapiResponseRequest

LlmapiResponseRequest = object

Defined in: src/client/types.gen.ts:1546 

Properties

background?

optional background: boolean

Defined in: src/client/types.gen.ts:1550 

Background indicates if request should be processed in background


image_model?

optional image_model: string

Defined in: src/client/types.gen.ts:1555 

ImageModel is the user-selected image generation model. When set, the portal overrides the model field in image tool call arguments.


input

input: LlmapiResponseInput

Defined in: src/client/types.gen.ts:1556 


max_output_tokens?

optional max_output_tokens: number

Defined in: src/client/types.gen.ts:1560 

MaxOutputTokens is the maximum number of tokens to generate


model

model: string

Defined in: src/client/types.gen.ts:1564 

Model is the model identifier in ‘provider/model’ format


reasoning?

optional reasoning: LlmapiResponseReasoning

Defined in: src/client/types.gen.ts:1565 


stream?

optional stream: boolean

Defined in: src/client/types.gen.ts:1569 

Stream indicates if response should be streamed


temperature?

optional temperature: number

Defined in: src/client/types.gen.ts:1573 

Temperature controls randomness (0.0 to 2.0)


thinking?

optional thinking: LlmapiThinkingOptions

Defined in: src/client/types.gen.ts:1574 


tool_choice?

optional tool_choice: LlmapiResponseToolChoice

Defined in: src/client/types.gen.ts:1575 


tools?

optional tools: LlmapiResponseTool[]

Defined in: src/client/types.gen.ts:1579 

Tools is an array of tool schemas describing which tools the model can use

Last updated on