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
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 = opus-model;
Prometheus.model = opus-model;
Atlas.model = opus-model;
sisyphus.model = opus-model;
oracle = {
model = "openrouter/openai/gpt-5.2";
variant = "high";
};
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 = opus-model;
multimodal-looker.model = haiku-model;
multimodal-looker.model = "openrouter/google/gemini-3-flash-preview";
prometheus.model = opus-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
@@ -124,6 +145,7 @@ in
models = {
"openai/gpt-oss-20b:free" = { };
"minimax/minimax-m2.1" = { };
"z-ai/glm-4.7-flash" = {};
};
options = {
# TODO! use agenix here instead