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