mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
address greptile review feedback (greploop iteration 4)
- Override _require_feature_enabled in test harness to prevent 404 in CI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0cc6787286
commit
cbc0cb5196
1 changed files with 3 additions and 0 deletions
|
|
@ -271,9 +271,12 @@ def _make_app(prisma: Any) -> TestClient:
|
|||
agent_id="agent-a",
|
||||
)
|
||||
|
||||
from litellm.proxy.scheduled_tasks.endpoints import _require_feature_enabled
|
||||
|
||||
app = FastAPI()
|
||||
app.include_router(router)
|
||||
app.dependency_overrides[user_api_key_auth] = _auth_override
|
||||
app.dependency_overrides[_require_feature_enabled] = lambda: None
|
||||
return TestClient(app, raise_server_exceptions=True)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue