mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Replace Any-typed seams with real types in files carrying the highest remaining reportAny/reportExplicitAny density after #34745: the proxy server and its utils, the router, the streaming handler and chunk builder, litellm_logging, the redis cache, the MCP db/tool-registry/spend-writer layer, the anthropic pass-through adapters and guardrail translation, the lasso and presidio guardrail hooks, the azure_ai agents handler, the management endpoints (keys, users, ui_sso, model access groups, config override, MCP, projects), the responses MCP handlers, response polling background streaming, and the containers and vector stores mains No casts, no type: ignore, no noqa, no new suppressions, and no Any annotations that were not already at base. Whole-tree basedpyright: reportAny 14,610 -> 14,009, reportExplicitAny 5,100 -> 4,780, total 144,743 -> 143,471, with no rule increasing repo-wide or in any file. Budgets ratcheted: basedpyright -1,272 across 48 rules, ruff-strict -85, type-discipline -37 |
||
|---|---|---|
| .. | ||
| cloudformation_stack | ||
| dist | ||
| enterprise_hooks | ||
| enterprise_ui | ||
| litellm_enterprise | ||
| __init__.py | ||
| LICENSE.md | ||
| pyproject.toml | ||
| README.md | ||
LiteLLM Enterprise
Code in this folder is licensed under a commercial license. Please review the LICENSE file within the /enterprise folder
These features are covered under the LiteLLM Enterprise contract
👉 Using in an Enterprise / Need specific features ? Meet with us here
See all Enterprise Features here 👉 Docs