mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
EventSource hook with auto-reconnect, seq-cursor resume, and dedup. On error closes the stream and re-opens after 1s backoff, passing since_seq=<lastSeq> so the server replays missed events. In mock mode replays MOCK_RUN_EVENTS at 400ms cadence so the UI looks live, and listens for window offline/online so Playwright can exercise the reconnect path. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||