Member Junction
    Preparing search index...
    • Decode an AIPromptRun.Messages field (a JSON string) into role/content pairs. Handles both the bare-array shape and the { messages: [...] } wrapper (same two shapes ParseMessagesData handles).

      Parameters

      • messagesJson: string | null

      Returns DecodedMessage[]