UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

18 lines (17 loc) 658 B
/** * Keep-alive helpers used for streaming chat responses. * * These constants coordinate the signal sent by the Agents Server streaming * endpoint and the parser in the SDK so we can distinguish between * real content and occasional pings. * * @private internal streaming helper for Promptbook chat connections */ export declare const CHAT_STREAM_KEEP_ALIVE_TOKEN = "STREAM_KEEP_ALIVE"; /** * Interval (milliseconds) between keep-alive pings emitted while the chat server * is still composing the reply. * * @private internal streaming helper for Promptbook chat connections */ export declare const CHAT_STREAM_KEEP_ALIVE_INTERVAL_MS = 25000;