Skip to content

Commit fe917e2

Browse files
Update packages/components/nodes/tools/MCP/core.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 3800a1d commit fe917e2

File tree

1 file changed

+2
-1
lines changed
  • packages/components/nodes/tools/MCP

1 file changed

+2
-1
lines changed

packages/components/nodes/tools/MCP/core.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ export class MCPToolkit extends BaseToolkit {
9191
this.client = await this.createClient()
9292

9393
this._tools = await this.client.request({ method: 'tools/list' }, ListToolsResultSchema, {
94-
resetTimeoutOnProgress: RESET_TIMEOUT_ON_PROGRESS
94+
resetTimeoutOnProgress: RESET_TIMEOUT_ON_PROGRESS,
95+
onprogress: RESET_TIMEOUT_ON_PROGRESS ? () => {} : undefined
9596
})
9697

9798
this.tools = await this.get_tools()

0 commit comments

Comments
 (0)