Interface: OllamaChatRequestBody
Defined in: src/batteries/llm/ollama/types.ts:177
The native /api/chat request body.
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. Vanilla Ollama ignores unknown top-level keys; gateways that understand it can forward it. Only set when non-empty. | src/batteries/llm/ollama/types.ts:198 |
format? | OllamaFormat | Structured-output control: 'json' or a JSON schema. | src/batteries/llm/ollama/types.ts:189 |
keep_alive? | string | number | How long the model stays resident after the request. | src/batteries/llm/ollama/types.ts:193 |
messages | OllamaMessage[] | The conversation history sent to the model. | src/batteries/llm/ollama/types.ts:181 |
model | string | Ollama model name to run. | src/batteries/llm/ollama/types.ts:179 |
options? | OllamaRuntimeOptions | Native sampling/runtime parameters, nested under this key. | src/batteries/llm/ollama/types.ts:191 |
stream | boolean | Whether the response is streamed as NDJSON chunks. | src/batteries/llm/ollama/types.ts:183 |
think? | OllamaThink | Native reasoning control for thinking-capable models. | src/batteries/llm/ollama/types.ts:187 |
tools? | ChatCompletionsTool[] | Function tools advertised to the model. | src/batteries/llm/ollama/types.ts:185 |