bothy-sdk
    Preparing search index...

    Interface RunOutbox

    The outbox a RunHandle replies through; the outbox of outbox fits. The handle adds runId to the options.

    interface RunOutbox {
        sendMessage(
            threadId: string,
            contentMd: string,
            options: Readonly<Record<string, unknown>> & { runId: string },
        ): Promise<unknown>;
    }
    Index

    Methods

    Methods

    • Queues a message in a thread and sends it.

      Parameters

      • threadId: string

        The thread.

      • contentMd: string

        The Markdown text.

      • options: Readonly<Record<string, unknown>> & { runId: string }

        Further options of the outbox, with runId set by the handle.

      Returns Promise<unknown>

      The outbox entry.