mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
A stream cut by a transport error now hands the caller the bytes already buffered before raising, as aiohttp does for a caller that reads them before the event loop sees the cut, so the frames and their usage reach the caller and the failure log. Provider replies keep integers wider than 64 bits exactly and read numbers that overflow a float as infinity, through the response, the response cache and the logged result. The provider client follows up to 20 redirects as httpx does, and running out raises Python's text. A provider_specific_header value the ascii codec cannot encode fails before the send like a caller extra header. The deployment success hook gets the stream as AnthropicMessagesStreamingResponse, as Python's handler hands it. |
||
|---|---|---|
| .. | ||
| cache | ||
| chat_completions | ||
| embeddings | ||
| messages | ||
| ocr | ||
| responses | ||
| support | ||
| tokenizer | ||
| AGENTS.md | ||
| conftest.py | ||
| test_clickhouse_spend.py | ||
| test_dispatch.py | ||
| test_fork_guard.py | ||
| test_public_entries.py | ||