adk-typescript
Version:
TypeScript port of Google's Agent Development Kit (ADK)
37 lines (36 loc) • 1.17 kB
TypeScript
import { AuthConfig } from '../auth/AuthConfig';
/**
* Represents the actions attached to an event.
*/
export declare class EventActions {
/**
* If true, it won't call model to summarize function response.
* Only used for function_response event.
*/
skipSummarization?: boolean;
/**
* Indicates that the event is updating the state with the given delta.
*/
stateDelta: Record<string, any>;
/**
* Indicates that the event is updating an artifact. key is the filename,
* value is the version.
*/
artifactDelta: Record<string, number>;
/**
* If set, the event transfers to the specified agent.
*/
transferToAgent?: string;
/**
* The agent is escalating to a higher level agent.
*/
escalate?: boolean;
/**
* Will only be set by a tool response indicating tool request euc.
* Map key is the function call id since one function call response (from model)
* could correspond to multiple function calls.
* Map value is the required auth config.
*/
requestedAuthConfigs: Map<string, AuthConfig>;
constructor(params?: Partial<EventActions>);
}