MCPcopy Create free account
hub / github.com/BerriAI/litellm / _debug_client

Function _debug_client

tests/unit/proxy/common_utils/test_debug_utils.py:115–119  ·  view source on GitHub ↗
(caller: UserAPIKeyAuth)

Source from the content-addressed store, hash-verified

113
114
115def _debug_client(caller: UserAPIKeyAuth) -> TestClient:
116 app = FastAPI()
117 app.include_router(debug_router)
118 app.dependency_overrides[user_api_key_auth] = lambda: caller
119 return TestClient(app)
120
121
122@pytest.mark.parametrize(

Calls

no outgoing calls

Tested by

no test coverage detected