mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
🌐 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:
parent
4dd2998592
commit
1869854d70
3 changed files with 38 additions and 12 deletions
|
|
@ -280,6 +280,7 @@ Please follow these instructions when using tools from the respective MCP server
|
|||
CallToolResultSchema,
|
||||
{
|
||||
timeout: connection.timeout,
|
||||
resetTimeoutOnProgress: true,
|
||||
...options,
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue