agentscope-ai / agentscope-ai/agentscope-java

[Bug]:结构化输出,会调用generate_response工具,但是如果存在多层嵌套,工具会报错

未关闭
#1,175 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/core/model bug
主要语言
Java
星标
5.6k
派生
1.3k
平均合并
4 天 12 小时
30 天内合并 PR
77

描述

下面是工具的返回消息:
{
"content":[
{
"id":"call_-7727915998354861090",
"metadata":{},
"name":"generate_response",
"output":[
{
"text":"Error: Parameter validation failed for tool 'generate_response': Schema validation error: Reference /$defs/DocumentExtract cannot be resolved\nPlease correct the parameters and try again."
}
]
}
],
"id":"c80ea208-9a88-4ac2-a940-0556ea8a3c9e",
"metadata":{},
"name":"指标提取智能体",
"role":"TOOL",
"timestamp":"2026-04-09 12:39:05.771"
}

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。