openclaw/docs
Raphael Borg Ellul Vincenti 34a58b839c
fix(ollama): add streaming config and fix OLLAMA_API_KEY env var support (#9870)
* fix(ollama): add streaming config and fix OLLAMA_API_KEY env var support

Adds configurable streaming parameter to model configuration and sets streaming
to false by default for Ollama models. This addresses the corrupted response
issue caused by upstream SDK bug badlogic/pi-mono#1205 where interleaved
content/reasoning deltas in streaming responses cause garbled output.

Changes:
- Add streaming param to AgentModelEntryConfig type
- Set streaming: false default for Ollama models
- Add OLLAMA_API_KEY to envMap (was missing, preventing env var auth)
- Document streaming configuration in Ollama provider docs
- Add tests for Ollama model configuration

Users can now configure streaming per-model and Ollama authentication
via OLLAMA_API_KEY environment variable works correctly.

Fixes #8839
Related: badlogic/pi-mono#1205

* docs(ollama): use gpt-oss:20b as primary example

Updates documentation to use gpt-oss:20b as the primary example model
since it supports tool calling. The model examples now show:

- gpt-oss:20b as the primary recommended model (tool-capable)
- llama3.3 and qwen2.5-coder:32b as additional options

This provides users with a clear, working example that supports
OpenClaw's tool calling features.

* chore: remove unused vi import from ollama test
2026-02-05 16:35:38 -08:00
..
.i18n 🤖 docs: mirror landing revamp for zh-CN 2026-02-04 10:42:12 -08:00
assets docs(onboarding): add bootstrapping page (#9767) 2026-02-05 12:08:35 -05:00
automation fix: cron announce delivery path (#8540) (thanks @tyler6204) 2026-02-04 01:03:59 -08:00
channels fix(telegram): accept messages from group members in allowlisted groups (#9775) 2026-02-05 14:45:45 -08:00
cli docs(onboarding): streamline CLI onboarding docs (#9830) 2026-02-05 13:46:11 -05:00
concepts docs: tighten secure DM example 2026-02-05 14:27:56 -08:00
debug Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
diagnostics Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
experiments Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
gateway docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
help Thinking: accept extra-high alias and sync Codex FAQ wording 2026-02-05 16:07:51 -08:00
hooks Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
images Channels: finish Feishu/Lark integration 2026-02-03 14:27:39 -08:00
install docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
nodes chore: apply local workspace updates (#9911) 2026-02-05 16:54:44 -05:00
platforms docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
plugins fix: harden voice-call webhook verification 2026-02-03 23:47:27 -08:00
providers fix(ollama): add streaming config and fix OLLAMA_API_KEY env var support (#9870) 2026-02-05 16:35:38 -08:00
refactor Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
reference chore: remove tracked .DS_Store files 2026-02-05 18:01:29 -05:00
security chore: Run `pnpm format:fix`. 2026-01-31 21:13:13 +09:00
start docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
tools fix: normalize xhigh aliases and docs sync (#9976) 2026-02-05 16:07:51 -08:00
web Security: Prevent gateway credential exfiltration via URL override (#9179) 2026-02-04 18:59:44 -05:00
zh-CN docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
CNAME refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
bedrock.md chore: apply local workspace updates (#9911) 2026-02-05 16:54:44 -05:00
brave-search.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
broadcast-groups.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
date-time.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
debugging.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
docs.json docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
environment.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
hooks.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
index.md docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
logging.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
multi-agent-sandbox-tools.md chore: Run `pnpm format:fix`. 2026-01-31 21:13:13 +09:00
network.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
perplexity.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
pi-dev.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
pi.md fix: align pi-coding-agent typings and docs 2026-02-01 16:08:01 -08:00
plugin.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
prose.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
scripts.md chore: clean up git hooks and actually install them again. 2026-02-03 22:08:24 +09:00
style.css Docs: streamline start and install docs (#9648) 2026-02-05 10:09:45 -05:00
testing.md chore: apply local workspace updates (#9911) 2026-02-05 16:54:44 -05:00
token-use.md chore: apply local workspace updates (#9911) 2026-02-05 16:54:44 -05:00
tts.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
tui.md Security: Prevent gateway credential exfiltration via URL override (#9179) 2026-02-04 18:59:44 -05:00
vps.md docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
whatsapp-openclaw-ai-zh.jpg Docs: add zh-CN landing notice + AI image 2026-02-02 18:35:01 +01:00
whatsapp-openclaw.jpg refactor: rename to openclaw 2026-01-30 03:16:21 +01:00