mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Five components (playground ChatUI, the public chat page, the prompt editor conversation panel, the usage AI chat panel, and the compliance batch runner) wire their AbortController only to a user-facing stop or close control. Navigating away mid-stream left the fetch and its ReadableStream reader running until the server finished, holding the response body and component closures alive and firing setState on unmounted components. Each now aborts its controller in an unmount cleanup. The conversation panel's controller moves from useState to a ref since nothing rendered from it; cancel no longer forces a redundant re-render |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||