We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca007b commit 0c592b5Copy full SHA for 0c592b5
src/lib/server/mcp/httpClient.ts
@@ -40,7 +40,13 @@ export async function callMcpTool(
40
const response = await activeClient.callTool(
41
{ name: tool, arguments: normalizedArgs },
42
undefined,
43
- { signal, timeout: timeoutMs }
+ {
44
+ signal,
45
+ timeout: timeoutMs,
46
+ // Enable progress tokens so long-running tools keep extending the timeout.
47
+ onprogress: () => {},
48
+ resetTimeoutOnProgress: true,
49
+ }
50
);
51
52
const parts = Array.isArray(response?.content) ? (response.content as Array<unknown>) : [];
0 commit comments