Interface: ChatCompletionsChunkDelta
Defined in: src/batteries/llm/openai_chat_completions/types.ts:225
Stream delta payload for a chat completion choice chunk.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
content? | string | null | The content block text fragment. | src/batteries/llm/openai_chat_completions/types.ts:233 |
reasoning? | string | null | Non-spec, provider-specific reasoning channel. Emitted by Ollama's /v1 and current vLLM (which renamed reasoning_content → reasoning); see OpenAIChatCompletionsAdapterOptions.reasoningFieldPrecedence. | src/batteries/llm/openai_chat_completions/types.ts:242 |
reasoning_content? | string | null | De-facto field for model reasoning output. | src/batteries/llm/openai_chat_completions/types.ts:237 |
role? | "assistant" | Optional role of the message author. | src/batteries/llm/openai_chat_completions/types.ts:229 |
tool_calls? | ChatCompletionsToolCallDelta[] | Partial stream deltas for tool calls. | src/batteries/llm/openai_chat_completions/types.ts:246 |