agentscope-ai / agentscope-ai/agentscope-java

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

オープン
#1,175 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/core/model bug
主要言語
Java
スター
5.6k
フォーク
1.3k
平均マージ
4日 12時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。