Bluestep JS Documentation
    Preparing search index...

    Interface AiChatHistoryEntry

    One entry in the chatHistory seed array passed to B.ai.call.

    interface AiChatHistoryEntry {
        content: string;
        role: "user" | "assistant" | "tool";
        toolCallId?: string;
    }
    Index

    experimental

    experimental

    content: string

    Text content of the message (or, for tool entries, the tool result body).

    role: "user" | "assistant" | "tool"

    Sender role: "user", "assistant", or "tool".

    toolCallId?: string

    Tool-call id this entry is a result for. Only meaningful when role is "tool".