Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Aug 15, 2024
1 parent ee97d0f commit 8cb4ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

SKIP_AUTH = os.getenv("SKIP_AUTH", None)
# Ex: [BasicAuthentication]
ENABLED_AUTH_STRATEGIES = []
ENABLED_AUTH_STRATEGIES = [OpenIDConnect]
if ENABLED_AUTH_STRATEGIES == [] and Settings().auth.enabled_auth is not None:
ENABLED_AUTH_STRATEGIES = [auth_map[auth] for auth in Settings().auth.enabled_auth]
if "pytest" in sys.modules or SKIP_AUTH == "true":
Expand Down
2 changes: 1 addition & 1 deletion src/backend/schemas/cohere_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class CohereChatRequest(BaseChatRequest):
""",
)
model: str | None = Field(
default="command-r",
default="command-r-plus",
title="The model to use for generating the response.",
)
temperature: float | None = Field(
Expand Down

0 comments on commit 8cb4ba3

Please sign in to comment.