mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
Python's azure-identity reports a failed client secret token request with requests' own text after "Authentication failed:", while the native flow kept reqwest's text for anything but a direct connect or name lookup failure. The requests transport now tags each failed send with the proxy it used, and classifies what reqwest, hyper and rustls observed into the failures requests words the same way every time: an unreachable or unresolvable proxy, a 407 answer to CONNECT, a proxy or server closing or resetting the connection, an EOF in the TLS handshake, an expired, not yet valid or misnamed certificate, and the 300 second read timeout. The host builds each text from the urllib3, http.client and ssl exceptions Python raises for it, so build details such as the _ssl.c line come from the running interpreter. A missing REQUESTS_CA_BUNDLE path now raises requests' own text too. |
||
|---|---|---|
| .. | ||
| host | ||
| messages | ||
| ocr | ||
| trace | ||
| __init__.py | ||
| AGENTS.md | ||
| native_route_wheel_test.py | ||
| stubtest.ini | ||
| test_bindings.py | ||
| test_catalog.py | ||
| test_clickhouse.py | ||
| test_configuration.py | ||
| test_detectors.py | ||
| test_execution.py | ||
| test_failures.py | ||
| test_fork_guard.py | ||
| test_logger.py | ||
| test_public_call.py | ||
| test_runtime.py | ||
| test_token_counter.py | ||
| test_tokenizer.py | ||
| test_verify_linux_native_wheel.py | ||