fanxt0218

Results comments of fanxt0218

Indeed, this problem will not occur anymore,But now the model won't call the MCP tool at all. the new issue #3506

> 你好 > > 我尝试编写一个普通的 web-mvc 项目 https://github.com/sunyuhan1998/spring-ai-repro-demo/tree/main/mcp/webmvc-mcp-server 其中包含一个用于测试的内容,然后将其转换为 mcp 服务器,在这个演示中,我使用了以下依赖项:`Controller` > > ``` > > org.springframework.boot > spring-boot-starter-web > > > org.springframework.ai > spring-ai-starter-mcp-server-webmvc > > ``` > >...

Correction: The model seems to be able to discover a list of tools, but it will never actually call them

> 也许您需要提供更多详细信息或演示,以便人们更容易地找到问题。我有一个 demo:[MCP 客户端](https://github.com/sunyuhan1998/spring-ai-repro-demo/tree/main/mcp/mcp-client)和一个使用最新版本的 Spring AI 的演示 [MCP 服务器](https://github.com/sunyuhan1998/spring-ai-repro-demo/tree/main/mcp/mcp-server),在这个演示中,模型很好地调用了该工具。`1.1.0-SNAPSHOT` //This is my construction method and the method for calling the model response //This method works fine in version 1.0.0 public...

> 我尝试尽可能多地重用您的代码,但仍然没有重现您的问题,这是我的代码: > > ``` > ... > ChatClient.builder(chatModel).build() > .prompt() > .system("You are a helpful assistant") > .user(" What time is it now?") > .toolCallbacks(new AsyncMcpToolCallbackProvider(mcpClients)) > .stream() >...

> > I found that reducing the MCP Server version from 1.1.0-SNAPSHOT to 1.0.0 allows the tool to be called normally. This should be a compatibility issue with the version...

> > 我发现将 MCP Server 版本从 1.1.0-SNAPSHOT 降低到 1.0.0 可以正常调用该工具。这应该是与 MCP Server 所依赖的版本的兼容性问题 > > 这太奇怪了,因为在我的测试中,MCP 服务器和客户端都使用 1.1.0-SNAPSHOT 版本,我对这个问题非常感兴趣,如果您能提供一个可以重现该问题的最小示例项目,那就太好了! if you want,you can pull my project: https://github.com/fanxt0218/Local_Helper it's a poor...

> I tried to pull your project and then modified the Spring AI version on the MCP Server side to 1.1.0-SNAPSHOT and ran it, but everything works fine on my...