Pools reusable ReqLLM Responses WebSocket sessions per Vibe session and model.
The cache is deliberately opt-in. Callers request a session only after provider options enable OpenAI Responses WebSocket reuse, and failures are reported to the caller so it can fall back to ordinary streaming or surface a provider error.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec close_session(String.t()) :: :ok
@spec start_link(keyword()) :: GenServer.on_start()