-
When using an LLM that got an MCP Client from Quarkus to connect to my own MCPServer built with quarkus, I sometimes get the error: HTTP Request to /mcp failed, error id: 095c67f6-be45-44a9-9d7f-4a3d61dcb9fa-1: java.lang.RuntimeException: Something is wrong, exceeded 10 sequential tool executions So the basic problem is, that the execution is canceled when there are more than 10 tools requested in a row. I am not sure, whether this is a server or a client problem, but I did not found a configuration option in any of them for the max sequential tool executions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The |
Beta Was this translation helpful? Give feedback.
Aaaaaah, I completely missed this, sorry. There is a config property
quarkus.langchain4j.ai-service.max-tool-executions
. I think it's not documented anywhere so I only found it after looking at the code...Still, it would make sense to be able to define it for each AI service separately.