Skip to content

Commit

Permalink
fix: Update condition for model selection based on AWS access key
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Dec 18, 2024
1 parent 2bda45d commit 7f81286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_computer_assistant/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_agent_executor(the_anthropic_model=False):

if the_anthropic_model:
tools += []
if not llm_settings[model]["provider"] == "aws":
if load_aws_access_key_id() == "default":
model_catch = get_model(the_model="claude-3-5-sonnet-20241022")
else:
model_catch = get_model(the_model="us.anthropic.claude-3-5-sonnet-20241022-v2:0")
Expand Down

0 comments on commit 7f81286

Please sign in to comment.