Skip to content
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
8 changes: 2 additions & 6 deletions src/scripts/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
ENVIRONMENT = "PROD"

ENV_VARS = {
# "OPENAI_API_KEY": os.environ["OPENAI_API_KEY"],
# "ANTHROPIC_API_KEY": os.environ["ANTHROPIC_API_KEY"],
"OPENAI_API_KEY": os.environ["OPENAI_API_KEY"],
"ANTHROPIC_API_KEY": os.environ["ANTHROPIC_API_KEY"],
"USE_DOCKER": "false",
"STAGE": ENVIRONMENT,
"ENVIRONMENT": ENVIRONMENT,
Expand Down Expand Up @@ -53,28 +53,24 @@
"model_name": "anthropic/claude-3-7-sonnet-20250219",
"litellm_params": {
"model": "anthropic/claude-3-7-sonnet-20250219",
"api_key": os.environ["ANTHROPIC_API_KEY"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you can add a ValueError special case somewhere if there is an api_key in litellm_params? Just thinking about catching this moving forward

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can totally do that on the server side of the platform 🫡

},
},
{
"model_name": "openai/gpt-4.1-2025-04-14",
"litellm_params": {
"model": "openai/gpt-4.1-2025-04-14",
"api_key": os.environ["OPENAI_API_KEY"],
},
},
{
"model_name": "anthropic/claude-3-5-sonnet-20241022",
"litellm_params": {
"model": "anthropic/claude-3-5-sonnet-20241022",
"api_key": os.environ["ANTHROPIC_API_KEY"],
},
},
{
"model_name": "openai/gpt-4o-2024-11-20",
"litellm_params": {
"model": "openai/gpt-4o-2024-11-20",
"api_key": os.environ["OPENAI_API_KEY"],
},
},
]
Expand Down