mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
Simplify MCP server timeout configuration (#7661)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user