feat(actions): add plan, update done & web search

This commit is contained in:
ItzCrazyKns
2025-12-06 15:38:07 +05:30
parent 8ab675b119
commit 97838fd693
3 changed files with 34 additions and 12 deletions

View File

@@ -4,11 +4,9 @@ import { ResearchAction } from '../../types';
const doneAction: ResearchAction<any> = {
name: 'done',
description:
"Indicates that the research process is complete and no further actions are needed. Use this action when you have gathered sufficient information to answer the user's query.",
'Only call this after ___plan AND after any other needed tool calls when you truly have enough to answer. Do not call if information is still missing.',
enabled: (_) => true,
schema: z.object({
type: z.literal('done'),
}),
schema: z.object({}),
execute: async (params, additionalConfig) => {
return {
type: 'done',