Skip to content

Commit

Permalink
fix: Cannot configure API keys onyx-dot-app#3191
Browse files Browse the repository at this point in the history
  • Loading branch information
Subash-Mohan committed Nov 23, 2024
1 parent 9819aa9 commit c612bcc
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 @@ -90,6 +90,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 @@ -280,6 +281,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 c612bcc

Please sign in to comment.