mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
The dcr_bridge oauth_delegate connect flow completed for a signed-in user with no litellm-side grant to the target server: every leg returned 200, the DCR client showed connected, and tools/list then fail-closed to an empty list with the upstream never contacted (#36358). The authorize leg now admits the user the way MCP egress will (same reload_admitted_user constructor, same get_allowed_mcp_servers resolver) and refuses with an RFC 6749 access_denied redirect naming the remedy, before any upstream OAuth runs or an envelope is minted. Availability faults (5xx) propagate; unknown or deactivated users deny fail-closed Promotes MCPRequestHandler reload_admitted_user to public: it already had a cross-module consumer in ui_session_utils, and this gate adds a second, so the private name no longer reflected its use. Ratchets the freed reportPrivateUsage budget headroom down
146 lines
2.4 KiB
JSON
146 lines
2.4 KiB
JSON
{
|
|
"reportAny": {
|
|
"limit": 19955
|
|
},
|
|
"reportArgumentType": {
|
|
"limit": 2566
|
|
},
|
|
"reportAssignmentType": {
|
|
"limit": 320
|
|
},
|
|
"reportAttributeAccessIssue": {
|
|
"limit": 488
|
|
},
|
|
"reportCallIssue": {
|
|
"limit": 114
|
|
},
|
|
"reportConstantRedefinition": {
|
|
"limit": 40
|
|
},
|
|
"reportDeprecated": {
|
|
"limit": 213
|
|
},
|
|
"reportDuplicateImport": {
|
|
"limit": 19
|
|
},
|
|
"reportExplicitAny": {
|
|
"limit": 6049
|
|
},
|
|
"reportFunctionMemberAccess": {
|
|
"limit": 7
|
|
},
|
|
"reportGeneralTypeIssues": {
|
|
"limit": 154
|
|
},
|
|
"reportIncompatibleMethodOverride": {
|
|
"limit": 56
|
|
},
|
|
"reportIncompatibleVariableOverride": {
|
|
"limit": 8
|
|
},
|
|
"reportInconsistentOverload": {
|
|
"limit": 12
|
|
},
|
|
"reportIndexIssue": {
|
|
"limit": 35
|
|
},
|
|
"reportInvalidTypeForm": {
|
|
"limit": 35
|
|
},
|
|
"reportInvalidTypeVarUse": {
|
|
"limit": 2
|
|
},
|
|
"reportMatchNotExhaustive": {
|
|
"limit": 0
|
|
},
|
|
"reportMissingParameterType": {
|
|
"limit": 5663
|
|
},
|
|
"reportMissingTypeArgument": {
|
|
"limit": 15555
|
|
},
|
|
"reportMissingTypeStubs": {
|
|
"limit": 40
|
|
},
|
|
"reportOperatorIssue": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalCall": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalIterable": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalMemberAccess": {
|
|
"limit": 1061
|
|
},
|
|
"reportOptionalOperand": {
|
|
"limit": 0
|
|
},
|
|
"reportOptionalSubscript": {
|
|
"limit": 0
|
|
},
|
|
"reportPossiblyUnboundVariable": {
|
|
"limit": 56
|
|
},
|
|
"reportPrivateUsage": {
|
|
"limit": 1822
|
|
},
|
|
"reportRedeclaration": {
|
|
"limit": 8
|
|
},
|
|
"reportReturnType": {
|
|
"limit": 213
|
|
},
|
|
"reportTypedDictNotRequiredAccess": {
|
|
"limit": 26
|
|
},
|
|
"reportUndefinedVariable": {
|
|
"limit": 0
|
|
},
|
|
"reportUnknownArgumentType": {
|
|
"limit": 44655
|
|
},
|
|
"reportUnknownLambdaType": {
|
|
"limit": 109
|
|
},
|
|
"reportUnknownMemberType": {
|
|
"limit": 39011
|
|
},
|
|
"reportUnknownParameterType": {
|
|
"limit": 19885
|
|
},
|
|
"reportUnknownVariableType": {
|
|
"limit": 30569
|
|
},
|
|
"reportUnnecessaryCast": {
|
|
"limit": 117
|
|
},
|
|
"reportUnnecessaryComparison": {
|
|
"limit": 699
|
|
},
|
|
"reportUnnecessaryContains": {
|
|
"limit": 5
|
|
},
|
|
"reportUnnecessaryIsInstance": {
|
|
"limit": 836
|
|
},
|
|
"reportUntypedBaseClass": {
|
|
"limit": 0
|
|
},
|
|
"reportUntypedFunctionDecorator": {
|
|
"limit": 27
|
|
},
|
|
"reportUnusedClass": {
|
|
"limit": 21
|
|
},
|
|
"reportUnusedFunction": {
|
|
"limit": 139
|
|
},
|
|
"reportUnusedImport": {
|
|
"limit": 545
|
|
},
|
|
"reportUnusedVariable": {
|
|
"limit": 146
|
|
}
|
|
}
|