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 摘要。