-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
waiting on reporterWaiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.Waiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.
Description
Describe the bug
When the agent call a tool and does not receive a responde within 10 seconds, the agent call the cool again, generation problem for tools that need more than 10 seconds to respond.
To Reproduce
Just call a tool that respond with more than 10 seconds.
Expected behavior
We need a parameter to configure the timeout in seconds, this cannot be fixed in code.
Additional context
The problem is in the line McpSessionManager class :
McpSyncClient client =
McpClient.sync(transport)
.requestTimeout(Duration.ofSeconds(10))
.capabilities(ClientCapabilities.builder().build())
.build();
Metadata
Metadata
Assignees
Labels
waiting on reporterWaiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.Waiting for reaction by reporter. Failing that, maintainers will eventually closed it as stale.