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
This commit is contained in:
YanzheL
2026-04-02 03:03:32 +08:00
parent 804ca0b988
commit 2ebf146b84
+6 -1
View File
@@ -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.