UNPKG

adk-typescript

Version:

TypeScript port of Google's Agent Development Kit (ADK)

23 lines (22 loc) 837 B
/** * Gives the agent identity from the framework. */ import { InvocationContext } from '../../agents/InvocationContext'; import { Event } from '../../events/Event'; import { LlmRequest } from '../../models/LlmRequest'; import { BaseLlmRequestProcessor } from './BaseLlmProcessor'; /** * Gives the agent identity from the framework. */ declare class IdentityLlmRequestProcessor implements BaseLlmRequestProcessor { /** * Runs the processor asynchronously. * * @param invocationContext The invocation context * @param llmRequest The LLM request to process * @returns An async generator yielding events */ runAsync(invocationContext: InvocationContext, llmRequest: LlmRequest): AsyncGenerator<Event, void, unknown>; } export declare const requestProcessor: IdentityLlmRequestProcessor; export {};