Skip to content

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

@59467

Description

@59467

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions