diff options
| author | Allen Hutchison <[email protected]> | 2025-04-18 13:20:39 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-18 13:20:39 -0700 |
| commit | 3ed61f1ff25a50b94cb6a6235c67eb3c9d4737e7 (patch) | |
| tree | 63b768850ca73a60af62da1ec5b491e4ab0bfd71 /packages/cli/src/gemini.ts | |
| parent | 56d4a35d05fbb581fd9efad8c8646e4b9bc42cd1 (diff) | |
Web fetch tool (#31)
* Adding a web fetch tool.
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); } |
