Interface: ChatCompletionsResponseMessage
Defined in: src/batteries/llm/openai_chat_completions/types.ts:300
A message response in non-streaming chat completions.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
content? | string | null | Text contents of the response. | src/batteries/llm/openai_chat_completions/types.ts:308 |
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:317 |
reasoning_content? | string | null | De-facto field for model reasoning output. | src/batteries/llm/openai_chat_completions/types.ts:312 |
role? | "assistant" | Role of the message author. | src/batteries/llm/openai_chat_completions/types.ts:304 |
tool_calls? | ChatCompletionsToolCallWire[] | The tool calls returned by the model. | src/batteries/llm/openai_chat_completions/types.ts:321 |