opencode: move away from claude
This commit is contained in:
@@ -8,18 +8,21 @@
|
||||
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-4.7-flash";
|
||||
|
||||
|
||||
opus-model = "openrouter/moonshotai/kimi-k2.5";
|
||||
|
||||
ohMyOpencodeConfig = {
|
||||
"$schema" =
|
||||
"https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json";
|
||||
agents = {
|
||||
Sisyphus.model = "anthropic/claude-opus-4-5";
|
||||
Sisyphus.model = opus-model;
|
||||
librarian.model = haiku-model;
|
||||
explore.model = haiku-model;
|
||||
oracle.model = "openrouter/openai/gpt-5.2";
|
||||
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;
|
||||
};
|
||||
};
|
||||
@@ -102,7 +105,7 @@ in
|
||||
settings = {
|
||||
theme = "opencode";
|
||||
|
||||
model = "anthropic/claude-opus-4-5";
|
||||
model = opus-model;
|
||||
# small model used for titles
|
||||
small_model = "openrouter/openai/gpt-oss-20b:free";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user