@squidcloud/client
    Preparing search index...

    Interface LangGraphTokenEvent

    Text that an LLM call made by a node streamed. Consecutive tokens of one message can arrive merged.

    interface LangGraphTokenEvent {
        messageId?: string;
        node: string;
        tags: string[];
        text: string;
        type: "token";
    }
    Index
    messageId?: string

    The id of the message the text belongs to, which is also its id in the graph state.

    node: string

    The node that made the LLM call.

    tags: string[]

    The tags of the LLM call, such as those set with model.withConfig({ tags }).

    text: string

    The streamed text.

    type: "token"

    Always token.