Skip to content

Commit cb06a5b

Browse files
committed
Fix researcher
1 parent 70048e3 commit cb06a5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.agents/researcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const config: AgentConfig = {
3131
handleSteps: function* ({ agentState, prompt, params }) {
3232
yield {
3333
toolName: 'web_search',
34-
args: { prompt },
34+
args: { query: prompt },
3535
}
3636
yield 'STEP_ALL'
3737
},

backend/src/templates/agents/researcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Always end your response with the end_turn tool.\\n\\n` +
4848
handleSteps: function* ({ agentState, prompt, params }) {
4949
yield {
5050
toolName: 'web_search',
51-
args: { prompt },
51+
args: { query: prompt },
5252
}
5353
yield 'STEP_ALL'
5454
},

0 commit comments

Comments
 (0)