Interface: OpenAIChatCompletionsRequestBody
Defined in: src/batteries/llm/openai_chat_completions/types.ts:456
Request body structure for the OpenAI Chat Completions API.
Indexable
ts
[key: string]: unknownProperties
| Property | Type | Description | Defined in |
|---|---|---|---|
_adk_reasoning_payloads? | { id: string; payload: unknown; replayCompatibility: string; }[] | Side-channel for opaque vendor reasoning payloads. Forwarded to gateways that understand them; stripped by gateways that don't. | src/batteries/llm/openai_chat_completions/types.ts:477 |
messages | ChatCompletionsMessage[] | A list of messages comprising the conversation history so far. | src/batteries/llm/openai_chat_completions/types.ts:464 |
model | string | ID of the model to use. | src/batteries/llm/openai_chat_completions/types.ts:460 |
stream | boolean | If set, partial message deltas will be sent as server-sent events. | src/batteries/llm/openai_chat_completions/types.ts:468 |
tools? | ChatCompletionsTool[] | A list of tools the model may call. | src/batteries/llm/openai_chat_completions/types.ts:472 |