@conciergus/chat - v0.3.1
    Preparing search index...

    Interface MessageMetadataProps

    interface MessageMetadataProps {
        metadata?: {
            model?: string;
            duration?: number;
            totalTokens?: number;
            inputTokens?: number;
            outputTokens?: number;
            cost?: number;
            finishReason?: string;
            timestamp?: string | Date;
            reasoning?: any[];
            sources?: any[];
            [key: string]: any;
        };
        showDetailed?: boolean;
        compact?: boolean;
        className?: string;
        onCostThreshold?: (cost: number, threshold: number) => void;
        costWarningThreshold?: number;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any
    Index

    Properties

    metadata?: {
        model?: string;
        duration?: number;
        totalTokens?: number;
        inputTokens?: number;
        outputTokens?: number;
        cost?: number;
        finishReason?: string;
        timestamp?: string | Date;
        reasoning?: any[];
        sources?: any[];
        [key: string]: any;
    }
    showDetailed?: boolean
    compact?: boolean
    className?: string
    onCostThreshold?: (cost: number, threshold: number) => void
    costWarningThreshold?: number