forked from agents/opencode
格式化 oh-my-openagent.jsonc 配置并添加 fallback_models
This commit is contained in:
+92
-22
@@ -1,27 +1,89 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/assets/oh-my-opencode.schema.json",
|
||||||
"agents": {
|
"agents": {
|
||||||
"sisyphus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"sisyphus": {
|
||||||
"hephaestus": { "model": "openai/gpt-5.4", "variant": "medium" },
|
"model": "anthropic/claude-opus-4-6",
|
||||||
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
|
"variant": "max"
|
||||||
"librarian": { "model": "ai-gateway/minimax-m2.7" },
|
},
|
||||||
"explore": { "model": "ai-gateway/minimax-m2.7" },
|
"hephaestus": {
|
||||||
"multimodal-looker": { "model": "openai/gpt-5.4", "variant": "medium" },
|
"model": "openai/gpt-5.4",
|
||||||
"prometheus": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"variant": "medium"
|
||||||
"metis": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
},
|
||||||
"momus": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
"oracle": {
|
||||||
"atlas": { "model": "anthropic/claude-sonnet-4-6" },
|
"model": "openai/gpt-5.4",
|
||||||
"sisyphus-junior": { "model": "anthropic/claude-sonnet-4-6" }
|
"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": {
|
"categories": {
|
||||||
"visual-engineering": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
"visual-engineering": {
|
||||||
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
|
"model": "google/gemini-3.1-pro-preview",
|
||||||
"deep": { "model": "openai/gpt-5.4", "variant": "medium" },
|
"variant": "high",
|
||||||
"artistry": { "model": "google/gemini-3.1-pro-preview", "variant": "high" },
|
"fallback_models": [
|
||||||
"quick": { "model": "openai/gpt-5.4-mini" },
|
{
|
||||||
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
|
"model": "anthropic/claude-opus-4-6",
|
||||||
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
|
"variant": "max"
|
||||||
"writing": { "model": "ai-gateway/kimi-k2.5" }
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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": {
|
"experimental": {
|
||||||
"disable_omo_env": true,
|
"disable_omo_env": true,
|
||||||
@@ -42,9 +104,17 @@
|
|||||||
"session_search"
|
"session_search"
|
||||||
],
|
],
|
||||||
"strategies": {
|
"strategies": {
|
||||||
"deduplication": { "enabled": true },
|
"deduplication": {
|
||||||
"supersede_writes": { "enabled": true, "aggressive": false },
|
"enabled": true
|
||||||
"purge_errors": { "enabled": true, "turns": 5 }
|
},
|
||||||
|
"supersede_writes": {
|
||||||
|
"enabled": true,
|
||||||
|
"aggressive": false
|
||||||
|
},
|
||||||
|
"purge_errors": {
|
||||||
|
"enabled": true,
|
||||||
|
"turns": 5
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user