Skip to content

Commit ae25244

Browse files
committed
DOCS: add Ollama Gemma 4 config example
1 parent 3a4eb1c commit ae25244

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,20 @@ Ollama `/api/chat` request behavior:
291291
| `json_mode=true`, `reasoning=` empty | Adds `format: "json"` for parseable structured output. |
292292
| `reasoning` set, regardless of `json_mode` | Adds `think: true` and `format: "json"`. |
293293

294+
Recommended Ollama setup for Gemma 4:
295+
296+
```ini
297+
key=ollama
298+
api=http://localhost:11434/api/chat
299+
model=gemma4:latest
300+
json_mode=true
301+
reasoning=true
302+
temp=0.1
303+
tokens=500
304+
```
305+
306+
The `key` value only needs to be non-empty for local Ollama. Set `reasoning=true` to send Ollama `think: true`; set `json_mode=true` to request parseable JSON with `format: "json"`.
307+
294308
Provider notes:
295309

296310
- OpenAI-compatible and Anthropic endpoints send the configured `model` directly in the request body.

0 commit comments

Comments
 (0)