mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
Typing-only pass over the 21 files with the highest reportAny and reportExplicitAny density among self-contained modules: management endpoints, guardrails, streaming internals, response transformations, MCP server, enterprise managed files, and vector store management. Whole-tree basedpyright drops from 148,648 to 146,984 errors (-1,664), with reportAny -1,111 and reportExplicitAny -296. No rule increased repo-wide and no file regressed on any rule. No cast(), type: ignore, noqa, suppression comments, or new Any annotations anywhere in the diff, and no runtime behavior changes. Budgets ratcheted by make lint-budget-update: basedpyright -1,663 across 48 rules, ruff-strict -86, type-discipline -110. |
||
|---|---|---|
| .. | ||
| litellm_completion_bridge | ||
| providers | ||
| __init__.py | ||
| card_resolver.py | ||
| client.py | ||
| cost_calculator.py | ||
| exception_mapping_utils.py | ||
| exceptions.py | ||
| main.py | ||
| streaming_iterator.py | ||
| utils.py | ||