From 2ebf146b84566e577571a105ec7a2962920a61e8 Mon Sep 17 00:00:00 2001 From: YanzheL Date: Thu, 2 Apr 2026 03:03:32 +0800 Subject: [PATCH] docs(configuration): fix invalid JSON examples and schema issues - Split two separate JSON objects into separate code blocks - Remove 'stream' field from agent config (not in schema) - Add note about streaming configuration location --- docs/reference/configuration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index ad582c258..ac3a9802f 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -645,6 +645,9 @@ Auto-switches to backup models on API errors. ```json { "runtime_fallback": true } +``` + +```json { "runtime_fallback": false } ``` @@ -987,11 +990,13 @@ Install [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-anti ```json { "agents": { - "explore": { "model": "ollama/qwen3-coder", "stream": false } + "explore": { "model": "ollama/qwen3-coder" } } } ``` +**Note:** The `stream` option should be configured in your OpenCode settings or via environment variables, not in the agent config. See [Ollama Troubleshooting](../troubleshooting/ollama.md) for details on disabling streaming. + Common models: `ollama/qwen3-coder`, `ollama/ministral-3:14b`, `ollama/lfm2.5-thinking` See [Ollama Troubleshooting](../troubleshooting/ollama.md) for `JSON Parse error: Unexpected EOF` issues.