Skip to content

Commit

Permalink
Add use agents view env variable. (cohere-ai#192)
Browse files Browse the repository at this point in the history
* Change

* Format
  • Loading branch information
BeatrixCohere authored and ClaytonSmith committed Jun 11, 2024
1 parent a897f73 commit 8e0c078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env-template
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ BEDROCK_REGION_NAME=<REGION NAME>

# Experimental features
USE_EXPERIMENTAL_LANGCHAIN=False
USE_AGENTS_VIEW=False

# Community features
USE_COMMUNITY_FEATURES='True'
Expand Down
3 changes: 2 additions & 1 deletion src/backend/routers/experimental_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def list_experimental_features():
experimental_features = {
"USE_EXPERIMENTAL_LANGCHAIN": bool(
strtobool(os.getenv("USE_EXPERIMENTAL_LANGCHAIN", "false"))
)
),
"USE_AGENTS_VIEW": bool(strtobool(os.getenv("USE_AGENTS_VIEW", "false"))),
}
return experimental_features

0 comments on commit 8e0c078

Please sign in to comment.