nexus-agents - v2.80.0
    Preparing search index...

    Interface IFeedbackIntegration

    Interface for feedback integration.

    interface IFeedbackIntegration {
        recordRoutingDecision(
            decision: CompositeRoutingDecision,
            traceId?: string,
        ): string;
        recordStepOutcome(
            routingDecisionId: string,
            stepResult: StepResult,
            durationMs: number,
            tokenUsage: number,
        ): void;
        recordOutcome(params: RecordOutcomeParams): void;
        getStats(): FeedbackLoopStats;
        onOutcomeProcessed(callback: OutcomeProcessedCallback): () => void;
        registerCompositeRouter(router: ICompositeRouter): void;
        reset(): void;
        evictStaleEntries(): number;
        getEvictedEntryCount(): number;
        getDecisionMapSize(): number;
    }

    Implemented by

    Index

    Methods