Skip to content

PURISTA API


PURISTA API / @purista/core / AgentInvocation

Interface: AgentInvocation<T>

Defined in: core/types/agent/AgentProtocol.ts:46

The agent invocation interface.

Extends

  • AsyncIterable<any>

Type Parameters

T

T = AgentProtocolResponse

Methods

final()

final(): Promise<T>

Defined in: core/types/agent/AgentProtocol.ts:50

Returns a promise that resolves to the full, final response.

Returns

Promise<T>