使用TRAE加载CANNBot(昇腾算子开发agent)无法正常工作,工作量无法运行,主要原因是不支持subagent

你的运行环境(版本号「点击帮助-关于-复制」):

Windows 加 远程linux服务器

问题描述(你遇到了什么问题?):

使用TRAE加载CANNBot(昇腾算子开发agent)无法正常工作,工作量无法运行,主要原因是不支持subagent

复现步骤(如何才能重现这个 Bug/问题?):

  1. 按照cannbot安装skills AtomGit | GitCode - 全球开发者的开源社区,开源代码托管平台
    2.开发昇腾算子

报错信息或截图(如有):

The subagent_type “ops-direct-invoke:ascendc-kernel-architect” is not a valid value. Let me check what subagent types are available. The available agents listed in the Task tool description only mention “search”.

Let me look at the available agents more carefully. The Task tool says:

"Available agents:

  • search: Launch a sub_agent to handle search tasks autonomously."

So the only available subagent type is “search”. But the AGENTS.md and task-prompts.md reference subagents like “ops-direct-invoke:ascendc-kernel-architect”, “ops-direct-invoke:ascendc-kernel-developer”, and “ops-direct-invoke:ascendc-kernel-reviewer”. These might be custom subagents that need to be available in the environment.

Since these subagents don’t seem to be available in the current environment, I need to handle the design, development, and review phases directly. Let me proceed by doing the work myself following the workflow guidelines.

1 个赞

我理解你在使用 TRAE 加载 CANNBot 时遇到了 subagent 不支持的问题。从报错信息看,当前 TRAE 环境确实只支持 “search” 类型的 subagent,而 CANNBot 需要的自定义 subagent 类型(如 ops-direct-invoke:ascendc-kernel-architect)暂未注册。

根据你的截图,CANNBot 已经提供了一个很好的替代方案——直接使用 Skills 来完成工作流。你可以试试这个方法,看看能否正常进行昇腾算子开发?

如果还有其他具体问题,随时告诉我~

1 个赞

您好,是用SOLO Coder调用吗?目前仅支持solo coder调用subagent哦

1 个赞

是使用的这个模式

1 个赞

你是通过Agent.md创建的subagent吗?

AtomGit | GitCode - 全球开发者的开源社区,开源代码托管平台 使用的这个skills