dd-trace
    Preparing search index...

    Interface AssistantTextMessage

    A message from an AI assistant containing only textual content.

    interface AssistantTextMessage {
        content: string;
        role: "assistant";
        tool_calls?: undefined;
    }
    Index

    Properties

    content: string

    The textual response content from the assistant.

    role: "assistant"

    The role identifier, always set to 'assistant'

    tool_calls?: undefined

    Explicitly excluded when content is present to maintain type safety.