Ask a question to get started
Enter to send•Shift+Enter new line
interface HttpAgentServerAdapterOptions
Optional fetch override, forwarded to the SSE transport. Useful for auth proxies, Next.js route handlers, or tests with injected mocks. Ignored when webSocketFactory is also supplied.
fetch
webSocketFactory
Override the default /threads/:threadId/... protocol paths.
/threads/:threadId/...
Thread ID this transport is bound to.
Optional WebSocket factory. Supplying it flips the adapter into WebSocket mode — SSE is bypassed entirely.