Member Junction
    Preparing search index...
    • Extract output payload from an agent run. Parses the FinalPayload string property; falls back to { message: agentRun.Message } for conversational agents whose output sits in Message, or {} when both are empty.

      Parameters

      • agentRun: { FinalPayload?: string | null; Message?: string | null }

      Returns Record<string, unknown>