added in the web search to the agent

This commit is contained in:
dal 2025-07-23 14:26:46 -06:00
parent 2fe23084a5
commit cb9aac6a2f
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import {
readFiles,
sequentialThinking,
updateClarificationsFile,
webSearch,
} from '../../tools';
import { Sonnet4 } from '../../utils/models/sonnet-4';
@ -30,7 +31,7 @@ export const analystAgent = new Agent({
instructions: '', // We control the system messages in the step at stream instantiation
model: Sonnet4,
tools: {
// TODO: missing execute sql for now and search internet
// TODO: missing execute sql
sequentialThinking,
grepSearch,
readFiles,
@ -41,6 +42,7 @@ export const analystAgent = new Agent({
updateClarificationsFile,
checkOffTodoList,
idleTool,
webSearch,
},
defaultGenerateOptions: DEFAULT_OPTIONS,
defaultStreamOptions: DEFAULT_OPTIONS,