dify-plugin-tools-mcp_sse icon indicating copy to clipboard operation
dify-plugin-tools-mcp_sse copied to clipboard

大模型对arguments参数的理解总会出错

Open Dqiucheng opened this issue 8 months ago • 3 comments

Please confirm before submission 在提交之前,请确认

Dify version Dify版本

1.2.0

Plugin version 插件版本

0.1.0

HTTP with SSE or Streamable HTTP

HTTP with SSE

Problem description 问题描述

大模型在请求工具时,总会将arguments参数已json对象的格式传给mcp_sse_call_tool导致报错,而不是json字符串,感觉是“Tool arguments (JSON string in the python dict[str, Any] format).”这句提示不够明确导致的问题

Dqiucheng avatar Apr 23 '25 09:04 Dqiucheng

你可以选择换LLM或者在指令里进行约束指导

junjiem avatar Apr 23 '25 10:04 junjiem

你可以选择换LLM或者在指令里进行约束指导

有推荐的大模型吗

godLei6 avatar Apr 27 '25 09:04 godLei6

你可以选择换LLM或者在指令里进行约束指导

没用的,总有偶发性的参数类型错误

Dqiucheng avatar May 30 '25 01:05 Dqiucheng