Skip to Content

LlmapiResponseRequest

LlmapiResponseRequest = object

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

Properties

background?

optional background: boolean

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

Background indicates if request should be processed in background


conversation_id?

optional conversation_id: string

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

ConversationID groups requests belonging to the same conversation for observability. Pass-through only — not forwarded to the LLM provider.


image_model?

optional image_model: string

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

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:1984 


max_output_tokens?

optional max_output_tokens: number

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

MaxOutputTokens is the maximum number of tokens to generate


model

model: string

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

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


reasoning?

optional reasoning: LlmapiResponseReasoning

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


stream?

optional stream: boolean

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

Stream indicates if response should be streamed


temperature?

optional temperature: number

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

Temperature controls randomness (0.0 to 2.0)


thinking?

optional thinking: LlmapiThinkingOptions

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


tool_choice?

optional tool_choice: LlmapiResponseToolChoice

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


tools?

optional tools: LlmapiResponseTool[]

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

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

Last updated on