Skip to content

Commit

Permalink
fix: Cannot configure API keys #3191
Browse files Browse the repository at this point in the history
  • Loading branch information
Subash-Mohan authored and Weves committed Nov 28, 2024
1 parent 212353e commit 36941ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/danswer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
from danswer.server.token_rate_limits.api import (
router as token_rate_limit_settings_router,
)
from danswer.server.api_key.api import router as api_key_router
from danswer.setup import setup_danswer
from danswer.setup import setup_multitenant_danswer
from danswer.utils.logger import setup_logger
Expand Down Expand Up @@ -281,6 +282,7 @@ def get_application() -> FastAPI:
application, get_full_openai_assistants_api_router()
)
include_router_with_global_prefix_prepended(application, long_term_logs_router)
include_router_with_global_prefix_prepended(application, api_key_router)

if AUTH_TYPE == AuthType.DISABLED:
# Server logs this during auth setup verification step
Expand Down

0 comments on commit 36941ae

Please sign in to comment.