@molroo-ai/sdk
    Preparing search index...

    Interface StatefulChatPluginApi

    Stateful chat plugin interface (manages history internally)

    interface StatefulChatPluginApi {
        chatStateful(
            to: string,
            message: string,
            options?: ChatOptions,
        ): Promise<ChatResult>;
        getHistory(): ChatMessage[];
        resetHistory(): void;
    }
    Index

    Methods