Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias ChatMessageOrPlaceholder

    ChatMessageOrPlaceholder:
        | ChatMessage
        | { type: Placeholder } & PlaceholderMessage

    Union type representing either a chat message or a placeholder.

    Used in compiled prompts where placeholders may remain unresolved.