Skip to content

bug: Fix make first-run command not setting proper Tavily api_key config #904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/backend/scripts/cli/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class Tool(StrEnum):
},
}


# Perhaps there is a better way to do this by using the Settings
# class from the backend?
ENV_YAML_CONFIG_MAPPING = {
"USE_COMMUNITY_FEATURES": {
"type": "config",
Expand All @@ -87,7 +88,7 @@ class Tool(StrEnum):
"type": "config",
"path": "tools.python_interpreter.url",
},
"TAVILY_API_KEY": {"type": "secret", "path": "tools.tavily.api_key"},
"TAVILY_API_KEY": {"type": "secret", "path": "tools.tavily_web_search.api_key"},
"COHERE_API_KEY": {"type": "secret", "path": "deployments.cohere_platform.api_key"},
"SAGE_MAKER_ACCESS_KEY": {
"type": "secret",
Expand Down
Loading