Bluestep JS Documentation
    Preparing search index...

    Interface AiTurnDecision

    Return shape for the AiOnTurnCallback continuation. Provide message to continue, or set done: true (or return null from the callback) to stop.

    interface AiTurnDecision {
        done?: boolean;
        message?: string;
    }
    Index

    experimental

    experimental

    done?: boolean

    When true, the conversation stops and the current state is returned. Takes precedence over message.

    message?: string

    Next user message to send. When supplied (and non-blank), the conversation continues with this message as the next user turn.