mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 03:24:42 -07:00
Implementation of web search as a tool (#307)
This commit is contained in:
@@ -133,8 +133,11 @@ Returns the MCP server response as a json string.
|
||||
|
||||
export class ToolRegistry {
|
||||
private tools: Map<string, Tool> = new Map();
|
||||
private config: Config;
|
||||
|
||||
constructor(private readonly config: Config) {}
|
||||
constructor(config: Config) {
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a tool definition.
|
||||
|
||||
Reference in New Issue
Block a user