We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agno 1.5.1
when a tool response time more than 5 seconds , it will return timeout ,even if i set "sse_read_timeout=200" and "timeout=100" in SSEClientParams
code like below
server_params = SSEClientParams( url="https://xxxxx/sse", headers={"Authorization":"Bearer YYYYYYYYYYYYYYYYYYYYYYYYY"}, timeout=100, sse_read_timeout=200 ) async def run_agent(message: str): # Initialize the MCP server async with MCPTools( server_params=server_params, transport="sse" ) as fs_tools:
and terminal output like
DEBUG =================================================================================================== tool =================================================================================================== DEBUG Tool call Id: call_d96a223145a64aa2a0b250 DEBUG Error: Timed out while waiting for response to ClientRequest. Waited 5.0 seconds. DEBUG ********************************************************************************************** TOOL METRICS ********************************************************************************************** DEBUG * Time: 5.0211s DEBUG ********************************************************************************************** TOOL METRICS **********************************************************************************************
like above
call the tool as shorter tools invoke
show timeout error and retry again and fail again
it shows above
maybe the timeout does not work
No response
The text was updated successfully, but these errors were encountered:
SUPPORT-217 [Bug] sse_read_timeout=200 do not work
Sorry, something went wrong.
finally when i set timeout_seconds in the mcp tool param it works
async def run_agent(message: str): # Initialize the MCP server async with MCPTools( server_params=server_params, transport="sse", timeout_seconds=30 #this works ) as fs_tools:
No branches or pull requests
Description
agno 1.5.1
when a tool response time more than 5 seconds , it will return timeout ,even if i set "sse_read_timeout=200" and "timeout=100" in SSEClientParams
Steps to Reproduce
code like below
and terminal output like
Agent Configuration (if applicable)
like above
Expected Behavior
call the tool as shorter tools invoke
Actual Behavior
show timeout error and retry again and fail again
Screenshots or Logs (if applicable)
Environment
Possible Solutions (optional)
maybe the timeout does not work
Additional Context
No response
The text was updated successfully, but these errors were encountered: