style: 统一 jsonc 配置文件格式
This commit is contained in:
@@ -2,74 +2,27 @@
|
|||||||
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
|
||||||
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/src/agents/AGENTS.md#agent-inventory
|
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/src/agents/AGENTS.md#agent-inventory
|
||||||
"agents": {
|
"agents": {
|
||||||
"sisyphus": {
|
"sisyphus": { "model": "litellm/claude-opus-4-6", "variant": "max" },
|
||||||
"model": "litellm/claude-opus-4-6",
|
"hephaestus": { "model": "litellm/gpt-5.3-codex", "variant": "medium" },
|
||||||
"variant": "max"
|
"oracle": { "model": "litellm/gpt-5.2", "variant": "high" },
|
||||||
},
|
"librarian": { "model": "bailian-coding-plan/glm-4.7" },
|
||||||
"hephaestus": {
|
"explore": { "model": "bailian-coding-plan/qwen3-coder-next" },
|
||||||
"model": "litellm/gpt-5.3-codex",
|
"multimodal-looker": { "model": "litellm/gemini-3-flash-preview" },
|
||||||
"variant": "medium"
|
"prometheus": { "model": "litellm/claude-opus-4-6", "variant": "max" },
|
||||||
},
|
"metis": { "model": "litellm/claude-opus-4-6", "variant": "max" },
|
||||||
"oracle": {
|
"momus": { "model": "litellm/gpt-5.2", "variant": "medium" },
|
||||||
"model": "litellm/gpt-5.2",
|
"atlas": { "model": "litellm/claude-sonnet-4-6" }
|
||||||
"variant": "high"
|
|
||||||
},
|
|
||||||
"librarian": {
|
|
||||||
"model": "bailian-coding-plan/glm-4.7"
|
|
||||||
},
|
|
||||||
"explore": {
|
|
||||||
"model": "bailian-coding-plan/qwen3-coder-next"
|
|
||||||
},
|
|
||||||
"multimodal-looker": {
|
|
||||||
"model": "litellm/gemini-3-flash-preview"
|
|
||||||
},
|
|
||||||
"prometheus": {
|
|
||||||
"model": "litellm/claude-opus-4-6",
|
|
||||||
"variant": "max"
|
|
||||||
},
|
|
||||||
"metis": {
|
|
||||||
"model": "litellm/claude-opus-4-6",
|
|
||||||
"variant": "max"
|
|
||||||
},
|
|
||||||
"momus": {
|
|
||||||
"model": "litellm/gpt-5.2",
|
|
||||||
"variant": "medium"
|
|
||||||
},
|
|
||||||
"atlas": {
|
|
||||||
"model": "litellm/claude-sonnet-4-6"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/reference/configuration.md#built-in-categories
|
// ref: https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/reference/configuration.md#built-in-categories
|
||||||
"categories": {
|
"categories": {
|
||||||
"visual-engineering": {
|
"visual-engineering": { "model": "litellm/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
"model": "litellm/gemini-3.1-pro-preview",
|
"ultrabrain": { "model": "litellm/gpt-5.3-codex", "variant": "xhigh" },
|
||||||
"variant": "high"
|
"deep": { "model": "litellm/gpt-5.3-codex", "variant": "medium" },
|
||||||
},
|
"artistry": { "model": "litellm/gemini-3.1-pro-preview", "variant": "high" },
|
||||||
"ultrabrain": {
|
"quick": { "model": "litellm/claude-haiku-4-5" },
|
||||||
"model": "litellm/gpt-5.3-codex",
|
"unspecified-low": { "model": "litellm/claude-sonnet-4-6" },
|
||||||
"variant": "xhigh"
|
"unspecified-high": { "model": "litellm/claude-opus-4-6", "variant": "max" },
|
||||||
},
|
"writing": { "model": "bailian-coding-plan/kimi-k2.5" }
|
||||||
"deep": {
|
|
||||||
"model": "litellm/gpt-5.3-codex",
|
|
||||||
"variant": "medium"
|
|
||||||
},
|
|
||||||
"artistry": {
|
|
||||||
"model": "litellm/gemini-3.1-pro-preview",
|
|
||||||
"variant": "high"
|
|
||||||
},
|
|
||||||
"quick": {
|
|
||||||
"model": "litellm/claude-haiku-4-5"
|
|
||||||
},
|
|
||||||
"unspecified-low": {
|
|
||||||
"model": "litellm/claude-sonnet-4-6"
|
|
||||||
},
|
|
||||||
"unspecified-high": {
|
|
||||||
"model": "litellm/claude-opus-4-6",
|
|
||||||
"variant": "max"
|
|
||||||
},
|
|
||||||
"writing": {
|
|
||||||
"model": "bailian-coding-plan/kimi-k2.5"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"git_master": {
|
"git_master": {
|
||||||
"commit_footer": false,
|
"commit_footer": false,
|
||||||
|
|||||||
@@ -19,75 +19,51 @@
|
|||||||
"claude-opus-4-6": {
|
"claude-opus-4-6": {
|
||||||
"name": "Claude Opus 4.6",
|
"name": "Claude Opus 4.6",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 200000, "output": 128000 }
|
"limit": { "context": 200000, "output": 128000 }
|
||||||
},
|
},
|
||||||
"claude-sonnet-4-6": {
|
"claude-sonnet-4-6": {
|
||||||
"name": "Claude Sonnet 4.6",
|
"name": "Claude Sonnet 4.6",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 200000, "output": 64000 }
|
"limit": { "context": 200000, "output": 64000 }
|
||||||
},
|
},
|
||||||
"claude-haiku-4-5": {
|
"claude-haiku-4-5": {
|
||||||
"name": "Claude Haiku 4.5",
|
"name": "Claude Haiku 4.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 200000, "output": 64000 }
|
"limit": { "context": 200000, "output": 64000 }
|
||||||
},
|
},
|
||||||
// Google
|
// Google
|
||||||
"gemini-3.1-pro-preview": {
|
"gemini-3.1-pro-preview": {
|
||||||
"name": "Gemini 3.1 Pro",
|
"name": "Gemini 3.1 Pro",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "video", "audio", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
"limit": { "context": 1048576, "output": 65536 }
|
||||||
},
|
},
|
||||||
"gemini-3-flash-preview": {
|
"gemini-3-flash-preview": {
|
||||||
"name": "Gemini 3 Flash",
|
"name": "Gemini 3 Flash",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "video", "audio", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "video", "audio", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 1048576, "output": 65536 }
|
"limit": { "context": 1048576, "output": 65536 }
|
||||||
},
|
},
|
||||||
// OpenAI
|
// OpenAI
|
||||||
"gpt-5.2": {
|
"gpt-5.2": {
|
||||||
"name": "GPT-5.2",
|
"name": "GPT-5.2",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||||
"input": ["text", "image"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||||
},
|
},
|
||||||
"gpt-5.3-codex": {
|
"gpt-5.3-codex": {
|
||||||
"name": "GPT-5.3-Codex",
|
"name": "GPT-5.3-Codex",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
||||||
"input": ["text", "image", "pdf"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||||
},
|
},
|
||||||
"gpt-5.1-codex-mini": {
|
"gpt-5.1-codex-mini": {
|
||||||
"name": "GPT-5.1 Codex mini",
|
"name": "GPT-5.1 Codex mini",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
||||||
"input": ["text", "image"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -103,73 +79,49 @@
|
|||||||
"qwen3.5-plus": {
|
"qwen3.5-plus": {
|
||||||
"name": "Qwen3.5 Plus",
|
"name": "Qwen3.5 Plus",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||||
"input": ["text", "image", "video"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 1000000, "output": 65536 }
|
"limit": { "context": 1000000, "output": 65536 }
|
||||||
},
|
},
|
||||||
"qwen3-max-2026-01-23": {
|
"qwen3-max-2026-01-23": {
|
||||||
"name": "Qwen3 Max 2026-01-23",
|
"name": "Qwen3 Max 2026-01-23",
|
||||||
"reasoning": false,
|
"reasoning": false,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 262144, "output": 65536 }
|
"limit": { "context": 262144, "output": 65536 }
|
||||||
},
|
},
|
||||||
"qwen3-coder-next": {
|
"qwen3-coder-next": {
|
||||||
"name": "Qwen3 Coder Next",
|
"name": "Qwen3 Coder Next",
|
||||||
"reasoning": false,
|
"reasoning": false,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 262144, "output": 65536 }
|
"limit": { "context": 262144, "output": 65536 }
|
||||||
},
|
},
|
||||||
"qwen3-coder-plus": {
|
"qwen3-coder-plus": {
|
||||||
"name": "Qwen3 Coder Plus",
|
"name": "Qwen3 Coder Plus",
|
||||||
"reasoning": false,
|
"reasoning": false,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 1000000, "output": 65536 }
|
"limit": { "context": 1000000, "output": 65536 }
|
||||||
},
|
},
|
||||||
"glm-5": {
|
"glm-5": {
|
||||||
"name": "GLM-5",
|
"name": "GLM-5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
},
|
},
|
||||||
"glm-4.7": {
|
"glm-4.7": {
|
||||||
"name": "GLM-4.7",
|
"name": "GLM-4.7",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
},
|
},
|
||||||
"kimi-k2.5": {
|
"kimi-k2.5": {
|
||||||
"name": "Kimi K2.5",
|
"name": "Kimi K2.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text", "image", "video"], "output": ["text"] },
|
||||||
"input": ["text", "image", "video"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 262144, "output": 262144 }
|
"limit": { "context": 262144, "output": 262144 }
|
||||||
},
|
},
|
||||||
"MiniMax-M2.5": {
|
"MiniMax-M2.5": {
|
||||||
"name": "MiniMax-M2.5",
|
"name": "MiniMax-M2.5",
|
||||||
"reasoning": true,
|
"reasoning": true,
|
||||||
"modalities": {
|
"modalities": { "input": ["text"], "output": ["text"] },
|
||||||
"input": ["text"],
|
|
||||||
"output": ["text"]
|
|
||||||
},
|
|
||||||
"limit": { "context": 204800, "output": 131072 }
|
"limit": { "context": 204800, "output": 131072 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user