Bluestep JS Documentation
    Preparing search index...

    Type Alias AiTranscriptEntry

    One message of an AiTranscript, as read through entries().

    type AiTranscriptEntry = {
        role: "user" | "assistant" | "tool";
        text: string;
        toolCalls?: readonly { arguments: object; id: string; name: string }[];
        toolResult?: { content: string; isError: boolean; toolCallId: string };
    }
    Index
    role: "user" | "assistant" | "tool"

    Who the message is from. "tool" is a tool result, sent back to the model after it requested the call.

    text: string

    The message text. For a tool result, what the tool returned; empty when an assistant turn only requested tools.

    toolCalls?: readonly { arguments: object; id: string; name: string }[]

    The tool calls an assistant turn requested. Present only on such a turn.

    toolResult?: { content: string; isError: boolean; toolCallId: string }

    The result a tool entry carries. Present only on a "tool" entry.