Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion home-manager/modules/opencode/opencode.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Comment on lines +25 to +28

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 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:

#!/bin/bash
# Description: Search for documentation or usage of "gpt-oss-20b" model in the codebase

# Search for references to this model
rg -i "gpt-oss-20b" -C3

Length of output: 924


Ensure model identifier matches your Ollama config
Replace "openai/gpt-oss-20b" in home-manager/modules/opencode/opencode.jsonc with "openai/gpt-oss:20b" (colon) so it aligns with gpt-oss:20b in modules/codex/config.toml.

🤖 Prompt for AI Agents
In home-manager/modules/opencode/opencode.jsonc around lines 25 to 28, the model
identifier uses "openai/gpt-oss-20b" which doesn't match the Ollama config;
update that value to "openai/gpt-oss:20b" (replace the hyphen with a colon) so
it aligns with gpt-oss:20b in modules/codex/config.toml and any other
references.

}
},
"openrouter": {
"models": {
"moonshotai/kimi-k2": {
"options": {
"provider": {
"order": ["baseten"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The pull request description mentions 'Added proper multi-line array formatting for provider order configuration'. However, the order array is currently on a single line. To align with the stated intent in the description, consider formatting it across multiple lines. This also improves readability and maintainability, especially if more providers are added to the list in the future.

							"order": [
								"baseten"
							],

"allow_fallbacks": false
}
}
}
}
}
}
}
Loading