Merge pull request #3008 from YanzheL/fix/configuration-schema-issues
docs(configuration): fix invalid JSON examples and schema issues
This commit is contained in:
@@ -654,6 +654,9 @@ Auto-switches to backup models on API errors.
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{ "runtime_fallback": true }
|
{ "runtime_fallback": true }
|
||||||
|
```
|
||||||
|
|
||||||
|
```json
|
||||||
{ "runtime_fallback": false }
|
{ "runtime_fallback": false }
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -1000,11 +1003,13 @@ Install [`opencode-antigravity-auth`](https://github.com/NoeFabris/opencode-anti
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"agents": {
|
"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`
|
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.
|
See [Ollama Troubleshooting](../troubleshooting/ollama.md) for `JSON Parse error: Unexpected EOF` issues.
|
||||||
|
|||||||
Reference in New Issue
Block a user