Repository navigation
Update AI provider configuration formatting #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
d08fd81
f7700ce
e70df68
545397c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,5 +2,43 @@ | |
| "$schema": "https://opencode.ai/config.json", | ||
| "theme": "opencode", | ||
| "model": "kimi-k2", | ||
| "autoupdate": true | ||
| "autoupdate": true, | ||
| "provider": { | ||
| "lmstudio": { | ||
| "npm": "@ai-sdk/openai-compatible", | ||
| "name": "LM Studio (local)", | ||
| "options": { | ||
| "baseURL": "http://127.0.0.1:1234/v1" | ||
| }, | ||
| "models": { | ||
| "qwen/qwen3-coder-30b": { | ||
| "name": "Qwen: Qwen3 Coder 30B" | ||
| } | ||
| } | ||
| }, | ||
| "ollama": { | ||
| "npm": "@ai-sdk/openai-compatible", | ||
| "name": "Ollama (local)", | ||
| "options": { | ||
| "baseURL": "http://localhost:11434/v1" | ||
| }, | ||
| "models": { | ||
| "openai/gpt-oss-20b": { | ||
| "name": "OpenAI: gpt-oss-20b" | ||
| } | ||
| } | ||
| }, | ||
| "openrouter": { | ||
| "models": { | ||
| "moonshotai/kimi-k2": { | ||
| "options": { | ||
| "provider": { | ||
| "order": ["baseten"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The pull request description mentions 'Added proper multi-line array formatting for provider order configuration'. However, the |
||
| "allow_fallbacks": false | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify the Ollama model identifier.
The model identifier
"openai/gpt-oss-20b"under the Ollama provider seems unusual. Ollama models typically don't use the "openai/" prefix. Please verify this is the correct model identifier for your Ollama setup.🏁 Script executed:
Length of output: 924
Ensure model identifier matches your Ollama config
Replace
"openai/gpt-oss-20b"inhome-manager/modules/opencode/opencode.jsoncwith"openai/gpt-oss:20b"(colon) so it aligns withgpt-oss:20binmodules/codex/config.toml.🤖 Prompt for AI Agents