diff options
| author | Conrad Irwin <[email protected]> | 2025-07-17 16:25:23 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-17 22:25:23 +0000 |
| commit | 761ffc63388201373e5d16f36c2af09be71b5933 (patch) | |
| tree | 3012681d84b27034ed9ceaa5df2eae6aeb753779 /packages/core/src/tools/web-search.ts | |
| parent | 12401898f1f541a8a7919c94b4616fb0263dcce5 (diff) | |
Zed integration (#4266)
Co-authored-by: Agus Zubiaga <[email protected]>
Co-authored-by: Ben Brandt <[email protected]>
Co-authored-by: mkorwel <[email protected]>
Diffstat (limited to 'packages/core/src/tools/web-search.ts')
| -rw-r--r-- | packages/core/src/tools/web-search.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/core/src/tools/web-search.ts b/packages/core/src/tools/web-search.ts index 98be1f30..480cc7e7 100644 --- a/packages/core/src/tools/web-search.ts +++ b/packages/core/src/tools/web-search.ts @@ -5,7 +5,7 @@ */ import { GroundingMetadata } from '@google/genai'; -import { BaseTool, ToolResult } from './tools.js'; +import { BaseTool, Icon, ToolResult } from './tools.js'; import { Type } from '@google/genai'; import { SchemaValidator } from '../utils/schemaValidator.js'; @@ -69,6 +69,7 @@ export class WebSearchTool extends BaseTool< WebSearchTool.Name, 'GoogleSearch', 'Performs a web search using Google Search (via the Gemini API) and returns the results. This tool is useful for finding information on the internet based on a query.', + Icon.Globe, { type: Type.OBJECT, properties: { |
