opencode: change models

This commit is contained in:
2026-02-19 17:09:15 -05:00
parent fae2e84c99
commit 6c12b580e3

View File

@@ -7,23 +7,23 @@
}:
let
# what model should be used in place of haiku?
# glm 4.7-flash is an example
haiku-model = "anthropic/claude-haiku-4-5";
haiku-model = "openrouter/z-ai/glm-5";
opus-model = "anthropic/claude-opus-4-6";
opus-model = "openrouter/z-ai/glm-5";
ohMyOpencodeConfig = {
"$schema" =
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
agents = {
sisyphus.model = opus-model;
sisyphus-junior.model = opus-model;
oracle = {
model = "openrouter/openai/gpt-5.2";
model = "openrouter/openai/gpt-5.2-codex";
variant = "high";
};
librarian.model = haiku-model;
explore.model = haiku-model;
multimodal-looker.model = "anthropic/claude-sonnet-4-5";
multimodal-looker.model = "openrouter/qwen/qwen3-vl-30b-a3b-thinking";
prometheus.model = opus-model;
metis.model = opus-model;
@@ -44,8 +44,7 @@ let
variant = "max";
};
quick.model = haiku-model;
"unspecified-low".model = opus-model;
"unspecified-high".model = opus-model;
deep.model = opus-model;
writing.model = "openrouter/google/gemini-3-flash-preview";
};
};