🌐 fix: Prevent MCP Body/Header Timeouts at 5-Minute mark (#9476)

* chore: improve error log for tool error

* fix: add undici as fetch method with agent to prevent body/header timeouts at 5-minute mark
This commit is contained in:
Danny Avila 2025-09-05 17:14:39 -04:00 committed by GitHub
parent 4dd2998592
commit 1869854d70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 38 additions and 12 deletions

View file

@ -280,6 +280,7 @@ Please follow these instructions when using tools from the respective MCP server
CallToolResultSchema,
{
timeout: connection.timeout,
resetTimeoutOnProgress: true,
...options,
},
);