dashboard-react
    Preparing search index...

    Interface ChatMessage

    One chat message in a conversation, including optional reasoning and token metadata.

    interface ChatMessage {
        id: string;
        role: "user" | "assistant";
        content: string;
        timestamp: number;
        attachments?: MessageAttachment[];
        thinkingContent?: string;
        generatedImages?: string[];
        ttftMs?: number;
        tps?: number;
        tokens?: {
            token: string;
            probability: number;
            logprob: number;
            topLogprobs?: { token: string; logprob: number }[];
        }[];
    }
    Index

    Properties

    id: string
    role: "user" | "assistant"
    content: string
    timestamp: number
    attachments?: MessageAttachment[]
    thinkingContent?: string
    generatedImages?: string[]
    ttftMs?: number
    tps?: number
    tokens?: {
        token: string;
        probability: number;
        logprob: number;
        topLogprobs?: { token: string; logprob: number }[];
    }[]