UNPKG

@measey/mycoder-agent

Version:

Agent module for mycoder - an AI-powered software development assistant

37 lines 982 B
import { z } from 'zod'; /** * Think tool implementation * * This tool allows the agent to explicitly think through a complex problem * without taking any external actions. It serves as a way to document the * agent's reasoning process and can improve problem-solving abilities. * * Based on research from Anthropic showing how a simple "think" tool can * improve Claude's problem-solving skills. */ export declare const thinkTool: { name: string; description: string; parameters: z.ZodObject<{ thought: z.ZodString; }, "strip", z.ZodTypeAny, { thought: string; }, { thought: string; }>; returns: z.ZodObject<{ thought: z.ZodString; }, "strip", z.ZodTypeAny, { thought: string; }, { thought: string; }>; execute: ({ thought }: { thought: any; }, { logger }: { logger: any; }) => Promise<{ thought: any; }>; }; //# sourceMappingURL=think.d.ts.map