opencode: move away from claude
This commit is contained in:
@@ -8,18 +8,21 @@
|
|||||||
let
|
let
|
||||||
# what model should be used in place of haiku?
|
# what model should be used in place of haiku?
|
||||||
# glm 4.7-flash is an example
|
# glm 4.7-flash is an example
|
||||||
haiku-model = "anthropic/claude-haiku-4-5";
|
haiku-model = "openrouter/z-ai/glm-4.7-flash";
|
||||||
|
|
||||||
|
|
||||||
|
opus-model = "openrouter/moonshotai/kimi-k2.5";
|
||||||
|
|
||||||
ohMyOpencodeConfig = {
|
ohMyOpencodeConfig = {
|
||||||
"$schema" =
|
"$schema" =
|
||||||
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||||
agents = {
|
agents = {
|
||||||
Sisyphus.model = "anthropic/claude-opus-4-5";
|
Sisyphus.model = opus-model;
|
||||||
librarian.model = haiku-model;
|
librarian.model = haiku-model;
|
||||||
explore.model = haiku-model;
|
explore.model = haiku-model;
|
||||||
oracle.model = "openrouter/openai/gpt-5.2";
|
oracle.model = "openrouter/openai/gpt-5.2";
|
||||||
frontend-ui-ux-engineer.model = "openrouter/google/gemini-3-pro-preview";
|
frontend-ui-ux-engineer.model = "openrouter/google/gemini-3-pro-preview";
|
||||||
document-writer.model = "anthropic/claude-sonnet-4-5";
|
document-writer.model = opus-model;
|
||||||
multimodal-looker.model = haiku-model;
|
multimodal-looker.model = haiku-model;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -102,7 +105,7 @@ in
|
|||||||
settings = {
|
settings = {
|
||||||
theme = "opencode";
|
theme = "opencode";
|
||||||
|
|
||||||
model = "anthropic/claude-opus-4-5";
|
model = opus-model;
|
||||||
# small model used for titles
|
# small model used for titles
|
||||||
small_model = "openrouter/openai/gpt-oss-20b:free";
|
small_model = "openrouter/openai/gpt-oss-20b:free";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user