diff options
Diffstat (limited to 'packages/cli/src/gemini.ts')
| -rw-r--r-- | packages/cli/src/gemini.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/gemini.ts b/packages/cli/src/gemini.ts index 8762d39b..f6de65c3 100644 --- a/packages/cli/src/gemini.ts +++ b/packages/cli/src/gemini.ts @@ -9,6 +9,7 @@ import { GlobTool } from './tools/glob.tool.js'; import { EditTool } from './tools/edit.tool.js'; import { TerminalTool } from './tools/terminal.tool.js'; import { WriteFileTool } from './tools/write-file.tool.js'; +import { WebFetchTool } from './tools/web-fetch.tool.js'; import { globalConfig } from './config/config.js'; async function main() { @@ -77,6 +78,7 @@ function registerTools(targetDir: string) { const editTool = new EditTool(targetDir); const terminalTool = new TerminalTool(targetDir); const writeFileTool = new WriteFileTool(targetDir); + const webFetchTool = new WebFetchTool(); toolRegistry.registerTool(lsTool); toolRegistry.registerTool(readFileTool); @@ -85,4 +87,5 @@ function registerTools(targetDir: string) { toolRegistry.registerTool(editTool); toolRegistry.registerTool(terminalTool); toolRegistry.registerTool(writeFileTool); + toolRegistry.registerTool(webFetchTool); } |
