adk-typescript
Version:
TypeScript port of Google's Agent Development Kit (ADK)
25 lines (24 loc) • 804 B
TypeScript
import { Event } from '../events/Event';
import { Content } from '../models/types';
import { InvocationContext } from './InvocationContext';
import { BaseAgent } from './BaseAgent';
/**
* A shell agent that runs its sub-agents in sequence.
*/
export declare class SequentialAgent extends BaseAgent {
/**
* Implement the required setUserContent method
*
* @param content The user content
* @param invocationContext The invocation context
*/
setUserContent(content: Content, invocationContext: InvocationContext): void;
/**
* @inheritdoc
*/
protected runAsyncImpl(ctx: InvocationContext): AsyncGenerator<Event, void, unknown>;
/**
* @inheritdoc
*/
protected runLiveImpl(ctx: InvocationContext): AsyncGenerator<Event, void, unknown>;
}