Simplify MCP server timeout configuration (#7661)

This commit is contained in:
Jacob MacDonald
2025-09-03 10:34:32 -07:00
committed by GitHub
parent 7395ab63ab
commit d2ae869bb4
3 changed files with 3 additions and 36 deletions
-4
View File
@@ -68,7 +68,6 @@ class DiscoveredMCPToolInvocation extends BaseToolInvocation<
readonly serverName: string,
readonly serverToolName: string,
readonly displayName: string,
readonly timeout?: number,
readonly trust?: boolean,
params: ToolParams = {},
private readonly cliConfig?: Config,
@@ -182,7 +181,6 @@ export class DiscoveredMCPTool extends BaseDeclarativeTool<
readonly serverToolName: string,
description: string,
override readonly parameterSchema: unknown,
readonly timeout?: number,
readonly trust?: boolean,
nameOverride?: string,
private readonly cliConfig?: Config,
@@ -205,7 +203,6 @@ export class DiscoveredMCPTool extends BaseDeclarativeTool<
this.serverToolName,
this.description,
this.parameterSchema,
this.timeout,
this.trust,
`${this.serverName}__${this.serverToolName}`,
this.cliConfig,
@@ -220,7 +217,6 @@ export class DiscoveredMCPTool extends BaseDeclarativeTool<
this.serverName,
this.serverToolName,
this.displayName,
this.timeout,
this.trust,
params,
this.cliConfig,