CyberStrikeAI icon indicating copy to clipboard operation
CyberStrikeAI copied to clipboard

调用工具upsert_project_fact时的错误

Open pandak1d opened this issue 4 months ago • 2 comments

当"fact_key": "finding/info-disclosure-messageBundle" 出现大写字母时,出现以下错误

错误: fact_key 格式无效,仅允许小写字母、数字及 . _ / -,且须以小写字母或数字开头

这个错误出现了5-6次,ai习惯用驼峰命名方式,能不能允许这种命名方式,少浪费token

pandak1d avatar Jul 16 '26 07:07 pandak1d

调用时出现了另外一个错误

工具调用失败

工具名称: upsert_project_fact
错误类型: 系统错误
错误详情: tool authorization denied: no access to project 

可能的原因:
- 工具 "upsert_project_fact" 不存在或未启用
- 单次执行超时(agent.tool_timeout_minutes)
- 系统配置问题
- 网络或权限问题

建议:
- 检查工具名称是否正确
- 若需更长执行时间,可适当增大 agent.tool_timeout_minutes
- 尝试使用其他替代工具
- 如果这是必需的工具,请向用户说明情况

pandak1d avatar Jul 17 '26 04:07 pandak1d

it occurred again for me here

工具调用失败

工具名称: upsert_project_fact 错误详情: tool authorization denied: 当前对话未绑定项目,无法使用项目黑板工具,请先在对话中选择项目或创建带项目的对话

Vincentssssssss avatar Sep 21 '26 08:09 Vincentssssssss