mirror of https://github.com/buster-so/buster.git
added in the web search to the agent
This commit is contained in:
parent
2fe23084a5
commit
cb9aac6a2f
|
@ -11,6 +11,7 @@ import {
|
||||||
readFiles,
|
readFiles,
|
||||||
sequentialThinking,
|
sequentialThinking,
|
||||||
updateClarificationsFile,
|
updateClarificationsFile,
|
||||||
|
webSearch,
|
||||||
} from '../../tools';
|
} from '../../tools';
|
||||||
import { Sonnet4 } from '../../utils/models/sonnet-4';
|
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
|
instructions: '', // We control the system messages in the step at stream instantiation
|
||||||
model: Sonnet4,
|
model: Sonnet4,
|
||||||
tools: {
|
tools: {
|
||||||
// TODO: missing execute sql for now and search internet
|
// TODO: missing execute sql
|
||||||
sequentialThinking,
|
sequentialThinking,
|
||||||
grepSearch,
|
grepSearch,
|
||||||
readFiles,
|
readFiles,
|
||||||
|
@ -41,6 +42,7 @@ export const analystAgent = new Agent({
|
||||||
updateClarificationsFile,
|
updateClarificationsFile,
|
||||||
checkOffTodoList,
|
checkOffTodoList,
|
||||||
idleTool,
|
idleTool,
|
||||||
|
webSearch,
|
||||||
},
|
},
|
||||||
defaultGenerateOptions: DEFAULT_OPTIONS,
|
defaultGenerateOptions: DEFAULT_OPTIONS,
|
||||||
defaultStreamOptions: DEFAULT_OPTIONS,
|
defaultStreamOptions: DEFAULT_OPTIONS,
|
||||||
|
|
Loading…
Reference in New Issue