Skip to content
1 min read · 133 words

Interface: ChatCompletionsChunkDelta ​

Defined in: src/batteries/llm/openai_chat_completions/types.ts:225

Stream delta payload for a chat completion choice chunk.

Properties ​

PropertyTypeDescriptionDefined in
content?string | nullThe content block text fragment.src/batteries/llm/openai_chat_completions/types.ts:233
reasoning?string | nullNon-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 | nullDe-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