anything-llm
anything-llm copied to clipboard
[BUG]: AnythingLLM 1.9.0 doesn't answer after successfully receiving mcp tool response
How are you running AnythingLLM?
AnythingLLM desktop app 1.9.0.
What happened?
Actual
AnythingLLM agent doesn't respond, only showing "MCP server: spring-ai-mcp:listFiles completed successfully"
I need to type /exit to stop it.
Expectation (AnythingLLM 1.9.0 should respond the same as AnythingLLM 1.8.5)
Are there known steps to reproduce?
Assuming we have an MCP server with a tool: spring-ai-mcp:listFiles.
The tool responds a json string similar to this:
{"success":true,"count":1,"files":[{"filename":"20251027_145333_Test-pdf_4.pdf","size":92680,"sizeFormatted":"90.51 KB","contentType":"application/pdf","lastModified":"2025-11-05T13:06:10.890596500Z","downloadUrl":"http://localhost:8081/api/files/download/20251027_145333_Test-pdf_4.pdf"}],"error":null}
Workaround
Downgrade to AnythingLLM 1.8.5
I have a similar behaviour, but only when using a llm via open router, direct with gemini I get proper behaviour... I think it might be an issue with the agenthandler?
@xuanswe What provider and model are you using here? If you call other agent tools like web-browsing or web-scraping, do you still get the same behavior where the LLM is not responding after the tool call?
with gemini I get proper behaviour.
Interesting, I have problem with Gemini Flash 2.5.
What provider and model are you using here?
Gemini Flash 2.5, Perplexity Sonar
If you call other agent tools like web-browsing or web-scraping, do you still get the same behavior where the LLM is not responding after the tool call?
I will need to reinstall version 1.9.0 next week and answer you later.