格式化 oh-my-openagent.jsonc 配置并添加 fallback_models

This commit is contained in:
2026-04-02 22:14:09 +08:00
parent 1502791097
commit 42a1057494
+92 -22
View File
@@ -1,27 +1,89 @@
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
"agents": {
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
"librarian": { "model": "ai-gateway/minimax-m2.7" },
"explore": { "model": "ai-gateway/minimax-m2.7" },
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
"sisyphus": {
"model": "anthropic/claude-opus-4-6",
"variant": "max"
},
"hephaestus": {
"model": "openai/gpt-5.4",
"variant": "medium"
},
"oracle": {
"model": "openai/gpt-5.4",
"variant": "high"
},
"librarian": {
"model": "ai-gateway/minimax-m2.7"
},
"explore": {
"model": "ai-gateway/minimax-m2.7"
},
"multimodal-looker": {
"model": "openai/gpt-5.4",
"variant": "medium"
},
"prometheus": {
"model": "anthropic/claude-opus-4-6",
"variant": "max"
},
"metis": {
"model": "anthropic/claude-opus-4-6",
"variant": "max"
},
"momus": {
"model": "openai/gpt-5.4",
"variant": "xhigh"
},
"atlas": {
"model": "anthropic/claude-sonnet-4-6"
},
"sisyphus-junior": {
"model": "anthropic/claude-sonnet-4-6"
}
},
"categories": {
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
"quick": { "model": "openai/gpt-5.4-mini" },
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"writing": { "model": "ai-gateway/kimi-k2.5" }
"visual-engineering": {
"model": "google/gemini-3.1-pro-preview",
"variant": "high",
"fallback_models": [
{
"model": "anthropic/claude-opus-4-6",
"variant": "max"
}
]
},
"ultrabrain": {
"model": "openai/gpt-5.4",
"variant": "xhigh"
},
"deep": {
"model": "openai/gpt-5.4",
"variant": "medium"
},
"artistry": {
"model": "google/gemini-3.1-pro-preview",
"variant": "high",
"fallback_models": [
{
"model": "anthropic/claude-opus-4-6",
"variant": "max"
}
]
},
"quick": {
"model": "openai/gpt-5.4-mini"
},
"unspecified-low": {
"model": "anthropic/claude-sonnet-4-6"
},
"unspecified-high": {
"model": "anthropic/claude-opus-4-6",
"variant": "max"
},
"writing": {
"model": "ai-gateway/kimi-k2.5"
}
},
"experimental": {
"disable_omo_env": true,
@@ -42,9 +104,17 @@
"session_search"
],
"strategies": {
"deduplication": { "enabled": true },
"supersede_writes": { "enabled": true, "aggressive": false },
"purge_errors": { "enabled": true, "turns": 5 }
"deduplication": {
"enabled": true
},
"supersede_writes": {
"enabled": true,
"aggressive": false
},
"purge_errors": {
"enabled": true,
"turns": 5
}
}
}
},