litellm/basedpyright-code-budget.json
ryan-crabbe-berri d39c74186a fix: derive provider model lists from an immutable registry snapshot so cost map reloads propagate
Reload Price Data updated litellm.model_cost but models_by_provider union
entries, model_list, model_list_set and all_embedding_models were frozen at
import, so newly priced models never appeared in wildcard expansion surfaces
until a proxy restart.

Replace the ~110 mutable provider set globals and the 111-branch
add_known_models chain with a pure build_snapshot in
litellm/litellm_core_utils/model_registry.py. litellm/__init__.py serves the
legacy names as frozenset views of one atomically swapped snapshot through
module __getattr__, add_known_models rebuilds the snapshot, and
register_model extends it incrementally through the same derivation table.
Cost-map entries whose litellm_provider has no explicit rule now fall back to
their known-provider bucket, which also fixes bare vertex_ai, vertex qwen and
nebius models never being enumerable.
2026-08-04 19:16:24 -07:00

146 lines
2.5 KiB
JSON

{
"reportAny": {
"limit": 29813
},
"reportArgumentType": {
"limit": 2645
},
"reportAssignmentType": {
"limit": 329
},
"reportAttributeAccessIssue": {
"limit": 516
},
"reportCallIssue": {
"limit": 123
},
"reportConstantRedefinition": {
"limit": 59
},
"reportDeprecated": {
"limit": 325
},
"reportDuplicateImport": {
"limit": 38
},
"reportExplicitAny": {
"limit": 9473
},
"reportFunctionMemberAccess": {
"limit": 11
},
"reportGeneralTypeIssues": {
"limit": 227
},
"reportIncompatibleMethodOverride": {
"limit": 77
},
"reportIncompatibleVariableOverride": {
"limit": 12
},
"reportInconsistentOverload": {
"limit": 18
},
"reportIndexIssue": {
"limit": 35
},
"reportInvalidTypeForm": {
"limit": 35
},
"reportInvalidTypeVarUse": {
"limit": 5
},
"reportMatchNotExhaustive": {
"limit": 0
},
"reportMissingParameterType": {
"limit": 5855
},
"reportMissingTypeArgument": {
"limit": 15727
},
"reportMissingTypeStubs": {
"limit": 41
},
"reportOperatorIssue": {
"limit": 0
},
"reportOptionalCall": {
"limit": 0
},
"reportOptionalIterable": {
"limit": 0
},
"reportOptionalMemberAccess": {
"limit": 1079
},
"reportOptionalOperand": {
"limit": 0
},
"reportOptionalSubscript": {
"limit": 0
},
"reportPossiblyUnboundVariable": {
"limit": 77
},
"reportPrivateUsage": {
"limit": 2436
},
"reportRedeclaration": {
"limit": 12
},
"reportReturnType": {
"limit": 219
},
"reportTypedDictNotRequiredAccess": {
"limit": 27
},
"reportUndefinedVariable": {
"limit": 0
},
"reportUnknownArgumentType": {
"limit": 45131
},
"reportUnknownLambdaType": {
"limit": 113
},
"reportUnknownMemberType": {
"limit": 40040
},
"reportUnknownParameterType": {
"limit": 20308
},
"reportUnknownVariableType": {
"limit": 31834
},
"reportUnnecessaryCast": {
"limit": 173
},
"reportUnnecessaryComparison": {
"limit": 1017
},
"reportUnnecessaryContains": {
"limit": 7
},
"reportUnnecessaryIsInstance": {
"limit": 1203
},
"reportUntypedBaseClass": {
"limit": 165
},
"reportUntypedFunctionDecorator": {
"limit": 33
},
"reportUnusedClass": {
"limit": 33
},
"reportUnusedFunction": {
"limit": 204
},
"reportUnusedImport": {
"limit": 1003
},
"reportUnusedVariable": {
"limit": 1297
}
}