AgentConfigWithHandoffs
type AgentConfigWithHandoffs<TOutput, Handoffs> = object & Partial<Omit<AgentConfiguration<UnknownContext, TOutput | HandoffsOutputUnion<Handoffs>>, "name" | "handoffs" | "outputType">>;
Helper type for config with handoffs
Type declaration
Section titled “Type declaration”handoffs?
Section titled “handoffs?”optional handoffs: Handoffs;
name: string;
outputType?
Section titled “outputType?”optional outputType: TOutput;
Type Parameters
Section titled “Type Parameters”Type Parameter | Description |
---|---|
|
The type of the output object. |
|
The type of the handoffs. |