Describe the [bug]
执行工具调用是,解析的参数发生异常(When executing the tool call, an exception occurred in the parsed parameters)
详细参考附件
To Reproduce
Steps to reproduce the behavior:
通过Langfuse 看到的信息,下面的一次tool_call因参数解析出问题,变成了两次tool_call,最终导致调用失败
(Based on the information obtained through Langfuse, the following issue occurred: due to a problem with parameter parsing, one tool_call was mistakenly executed twice, ultimately resulting in a failed call)
----------------------------trace info---------------------------
...
}
2: {4 Items
type: "tool_call"
id: "call_28281576ef7241a397970399"
name: "retrieveFromMemory"
arguments: "{"keywords": ["关注", "重点", "部类", "品牌", "偏好", "负责"]"
}
3: {4 Items
type: "tool_call"
id: "streaming_1776130606735"
name: "retrieveFromMemory"
arguments: "}"
}
]
finish_reason: "tool_calls"
----------------------------trace info---------------------------
Expected behavior
A clear and concise description of what you expected to happen.
Error messages
Error: Parameter validation failed for tool 'retrieveFromMemory': Schema validation error: Invalid input
Please correct the parameters and try again.
Environment (please complete the following information):
- AgentScope-Java Version: [e.g. 1.0.11, check your pom.xml dependency version or run
mvn dependency:tree | grep agentscope-parent:pom(only mac/linux)]
- Java Version: [e.g. 17]
- OS: [e.g. macos, windows]
Additional context
Add any other context about the problem here.
Describe the [bug]
执行工具调用是,解析的参数发生异常(When executing the tool call, an exception occurred in the parsed parameters)
详细参考附件
To Reproduce
Steps to reproduce the behavior:
通过Langfuse 看到的信息,下面的一次tool_call因参数解析出问题,变成了两次tool_call,最终导致调用失败
(Based on the information obtained through Langfuse, the following issue occurred: due to a problem with parameter parsing, one tool_call was mistakenly executed twice, ultimately resulting in a failed call)
----------------------------trace info---------------------------
...
}
2: {4 Items
type: "tool_call"
id: "call_28281576ef7241a397970399"
name: "retrieveFromMemory"
arguments: "{"keywords": ["关注", "重点", "部类", "品牌", "偏好", "负责"]"
}
3: {4 Items
type: "tool_call"
id: "streaming_1776130606735"
name: "retrieveFromMemory"
arguments: "}"
}
]
finish_reason: "tool_calls"
----------------------------trace info---------------------------
Expected behavior
A clear and concise description of what you expected to happen.
Error messages
Error: Parameter validation failed for tool 'retrieveFromMemory': Schema validation error: Invalid input
Please correct the parameters and try again.
Environment (please complete the following information):
mvn dependency:tree | grep agentscope-parent:pom(only mac/linux)]Additional context
Add any other context about the problem here.