@agorio/sdkDocs


Interface: AgentChainStep

Properties

inputFrom()?

optional inputFrom: (ctx, initialInput) => string

Derive the input for this step from prior step results. If omitted, the prior step’s answer is used directly.

Parameters

ctx: ChainContext

initialInput: string

Returns

string

Defined in

src/types/index.ts:654


subAgent

subAgent: SubAgent

Defined in

src/types/index.ts:649