agentscope-ai / agentscope-ai/agentscope-java

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

Open
#1,175 2 comments 0 reactions 0 assignees View on GitHub
area/core/model bug
Dominant language
Java
Stars
5.6k
Forks
1.3k
Avg merge
4d 12h
Merged PRs (30d)
77

Description

下面是工具的返回消息:
{
"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"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.