diff --git a/home-manager/progs/opencode.nix b/home-manager/progs/opencode.nix index 0e77ed6..3cdbfa2 100644 --- a/home-manager/progs/opencode.nix +++ b/home-manager/progs/opencode.nix @@ -6,17 +6,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"; + 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"; - librarian.model = "anthropic/claude-haiku-4-5"; - explore.model = "anthropic/claude-haiku-4-5"; + 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"; - multimodal-looker.model = "anthropic/claude-haiku-4-5"; + multimodal-looker.model = haiku-model; }; }; in