UNPKG

@artinet/create-quick-agent

Version:
27 lines 568 B
/** * Basic Agent Example * * This example demonstrates how to create a simple agent * that responds to incoming tasks. */ export function demoAgent(context: any): AsyncGenerator<{ state: string; message: { role: string; parts: { text: string; type: string; }[]; }; name?: undefined; parts?: undefined; } | { name: string; parts: { text: string; type: string; }[]; state?: undefined; message?: undefined; }, void, unknown>; //# sourceMappingURL=agent.d.ts.map