Loading...
Loading...
Compare original and translation side by side
.github/agents/modeltaskmodel.github/agents/modeltaskmodel.github/agents/<agent-name>.agent.mdagent_typeui-composerui-composer.agent.md.github/agents/<agent-name>.agent.mdagent_typeui-composerui-composer.agent.md.agent.mdmodel.agent.mdmodelAgent frontmatter | | Model Fallback |
|---|---|---|
| | Claude Opus 4.6 |
| | Claude Opus 4.6 |
| | |
| | GPT-5.4 |
| | GPT-5.4 |
| | |
| | |
| | Claude Haiku 4.5 |
| |
Pattern: strip, lowercase, replace spaces with hyphens.(copilot)
Fallbacks: If the intended model isn't available, use the fallback. Otherwise, default to the platform's default for that agent type.
Some built-in agent types (,task) have nocode-reviewfile. Skip model resolution for these — use platform defaults or override manually based on task complexity..agent.md
GPT-5.4 miniGPT-5.3-Codexexploregeneral-purposeAgent frontmatter | | Model Fallback |
|---|---|---|
| | Claude Opus 4.6 |
| | Claude Opus 4.6 |
| | |
| | GPT-5.4 |
| | GPT-5.4 |
| | |
| | |
| | Claude Haiku 4.5 |
| |
规则:去掉后缀,转为小写,空格替换为连字符。(copilot)
降级方案:如果预期模型不可用,请使用降级方案。否则,使用该Agent类型对应的平台默认值。
部分内置Agent类型(、task)没有对应的code-review文件。这类Agent无需进行模型解析——使用平台默认值,或根据任务复杂度手动覆盖即可。.agent.md
exploregeneral-purposeGPT-5.4 miniGPT-5.3-Codexmodelmodelmodeltask({
agent_type: "ui-composer",
model: "gemini-3.1-pro-preview", // resolved from frontmatter
description: "Build patient card component",
prompt: "..."
})modeltask({
agent_type: "ui-composer",
model: "gemini-3.1-pro-preview", // resolved from frontmatter
description: "Build patient card component",
prompt: "..."
})