mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
Enabling websearch_interception, compression_interception or code_interpreter_interception from the Admin UI / POST /config/update persisted the setting and reported success, but the feature never turned on; only the config.yaml boot path worked. _add_callbacks_from_db_config could not build these loggers. They need config params (websearch_interception_params and friends), which _init_custom_logger_compatible_class does not take, so websearch and code_interpreter fell through to appending the bare callback name to litellm.callbacks, and compression (which is in _custom_logger_compatible_callbacks_literal) resolved to None and was dropped entirely. No hooks were registered either way. Resolution now lives in one place: resolve_config_parameterized_callback in callback_utils, used by both initialize_callbacks_on_proxy (YAML boot) and the DB-config path. The DB path installs through install_config_parameterized_callback, which is idempotent across config polls and swaps the installed logger when its params change instead of stacking a second instance. initialize_from_proxy_config now takes Mapping instead of dict, since these config sections are read-only inputs.
146 lines
2.5 KiB
JSON
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": 42
|
|
},
|
|
"reportExplicitAny": {
|
|
"limit": 9473
|
|
},
|
|
"reportFunctionMemberAccess": {
|
|
"limit": 11
|
|
},
|
|
"reportGeneralTypeIssues": {
|
|
"limit": 227
|
|
},
|
|
"reportIncompatibleMethodOverride": {
|
|
"limit": 77
|
|
},
|
|
"reportIncompatibleVariableOverride": {
|
|
"limit": 12
|
|
},
|
|
"reportInconsistentOverload": {
|
|
"limit": 18
|
|
},
|
|
"reportIndexIssue": {
|
|
"limit": 37
|
|
},
|
|
"reportInvalidTypeForm": {
|
|
"limit": 35
|
|
},
|
|
"reportInvalidTypeVarUse": {
|
|
"limit": 5
|
|
},
|
|
"reportMatchNotExhaustive": {
|
|
"limit": 0
|
|
},
|
|
"reportMissingParameterType": {
|
|
"limit": 5855
|
|
},
|
|
"reportMissingTypeArgument": {
|
|
"limit": 15852
|
|
},
|
|
"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": 2437
|
|
},
|
|
"reportRedeclaration": {
|
|
"limit": 12
|
|
},
|
|
"reportReturnType": {
|
|
"limit": 219
|
|
},
|
|
"reportTypedDictNotRequiredAccess": {
|
|
"limit": 27
|
|
},
|
|
"reportUndefinedVariable": {
|
|
"limit": 0
|
|
},
|
|
"reportUnknownArgumentType": {
|
|
"limit": 45322
|
|
},
|
|
"reportUnknownLambdaType": {
|
|
"limit": 113
|
|
},
|
|
"reportUnknownMemberType": {
|
|
"limit": 40452
|
|
},
|
|
"reportUnknownParameterType": {
|
|
"limit": 20309
|
|
},
|
|
"reportUnknownVariableType": {
|
|
"limit": 31978
|
|
},
|
|
"reportUnnecessaryCast": {
|
|
"limit": 177
|
|
},
|
|
"reportUnnecessaryComparison": {
|
|
"limit": 1021
|
|
},
|
|
"reportUnnecessaryContains": {
|
|
"limit": 7
|
|
},
|
|
"reportUnnecessaryIsInstance": {
|
|
"limit": 1204
|
|
},
|
|
"reportUntypedBaseClass": {
|
|
"limit": 165
|
|
},
|
|
"reportUntypedFunctionDecorator": {
|
|
"limit": 33
|
|
},
|
|
"reportUnusedClass": {
|
|
"limit": 33
|
|
},
|
|
"reportUnusedFunction": {
|
|
"limit": 204
|
|
},
|
|
"reportUnusedImport": {
|
|
"limit": 1003
|
|
},
|
|
"reportUnusedVariable": {
|
|
"limit": 1297
|
|
}
|
|
}
|