opencode: overhaul oh-my-opencode config

This commit is contained in:
2026-01-28 13:23:38 -05:00
parent 0e3b77cc59
commit 1052b54dfb

View File

@@ -10,22 +10,43 @@ let
# glm 4.7-flash is an example # glm 4.7-flash is an example
haiku-model = "openrouter/z-ai/glm-4.7-flash"; haiku-model = "openrouter/z-ai/glm-4.7-flash";
opus-model = "openrouter/moonshotai/kimi-k2.5"; 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 = opus-model; sisyphus.model = opus-model;
Prometheus.model = opus-model; oracle = {
Atlas.model = opus-model; model = "openrouter/openai/gpt-5.2";
variant = "high";
};
librarian.model = haiku-model; librarian.model = haiku-model;
explore.model = haiku-model; explore.model = haiku-model;
oracle.model = "openrouter/openai/gpt-5.2"; multimodal-looker.model = "openrouter/google/gemini-3-flash-preview";
frontend-ui-ux-engineer.model = "openrouter/google/gemini-3-pro-preview";
document-writer.model = opus-model; prometheus.model = opus-model;
multimodal-looker.model = haiku-model; metis.model = opus-model;
momus = {
model = "openrouter/openai/gpt-5.2";
variant = "medium";
};
atlas.model = opus-model;
};
categories = {
visual-engineering.model = "openrouter/google/gemini-3-pro";
ultrabrain = {
model = "openrouter/openai/gpt-5.2-codex";
variant = "xhigh";
};
artistry = {
model = "openrouter/google/gemini-3-pro";
variant = "max";
};
quick.model = haiku-model;
"unspecified-low".model = opus-model;
"unspecified-high".model = opus-model;
writing.model = "openrouter/google/gemini-3-flash-preview";
}; };
}; };
in in
@@ -124,6 +145,7 @@ in
models = { models = {
"openai/gpt-oss-20b:free" = { }; "openai/gpt-oss-20b:free" = { };
"minimax/minimax-m2.1" = { }; "minimax/minimax-m2.1" = { };
"z-ai/glm-4.7-flash" = {};
}; };
options = { options = {
# TODO! use agenix here instead # TODO! use agenix here instead