Download Latest Version v1.5.0 source code.zip (44.7 MB) Google Add to Preferred Sources
Home / v1.4.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-26 723 Bytes
v1.4.1 source code.tar.gz 2026-10-26 42.2 MB
v1.4.1 source code.zip 2026-10-26 44.3 MB
Totals: 3 Items   86.5 MB 0

[1.4.1] - 2026-10-26

Fixed

  • A sync method, e.g. extract_all() or chat(), now closes the connections that it opened to the API of the model before it returns. A sync method runs in an event loop of its own, and the HTTP clients that litellm keeps for each event loop stayed open with their connections after the method returned, for ten minutes or more, often until the program exited, when Python reported them as unclosed sockets and transports if its warnings were shown, e.g. with -W default. A program that called sync methods one after another kept a connection open for each call. The clients given to litellm, e.g. litellm.aclient_session, are left open. The async methods are not affected.
Source: README.md, updated 2026-10-26