litellm/litellm/interactions
Mateo Wang e2dee86bf9
refactor(types): type the json, headers and params of the shared HTTP client's request methods and their callers (#54743)
* Type the HTTP client method signatures and their callers' header, param and body sources

Widen json, params and headers on the sync and async get, post, put, patch and delete methods of the shared HTTP handlers to the types callers pass today, and route the httpx hand-off through private forwarding functions that pass the same objects on unchanged

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(types): inline the two single-use httpx forwarding helpers and type the Noma headers as a read-only Mapping

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-26 20:16:27 +00:00
..
agents refactor(types): type the params models' get and read keys and base URLs through a str-or-None helper (#54589) 2026-11-26 04:13:56 +00:00
litellm_responses_transformation fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
__init__.py fix(gemini)!: accept Google's current Managed Agents fields on create and interactions (#48750) 2026-10-28 12:37:59 -07:00
background_cost_polling.py refactor(types): replace Unknown with proven types in 82 more files (#53918) 2026-11-23 17:36:22 -08:00
http_handler.py refactor(types): type the json, headers and params of the shared HTTP client's request methods and their callers (#54743) 2026-11-26 20:16:27 +00:00
main.py refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
streaming_iterator.py refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
utils.py refactor(typing): clear 102 basedpyright Any errors across 21 files (#54586) 2026-11-25 19:03:46 -08:00