Skip to content

Commit

Permalink
Merge pull request elizaOS#1258 from ai16z/tcm-claude-vertext-miss
Browse files Browse the repository at this point in the history
fix: unsupported model provider: claude_vertex
  • Loading branch information
shakkernerd authored Dec 20, 2024
2 parents 8c0709c + d331665 commit e6de3a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export function getTokenForProvider(
character.settings?.secrets?.OPENAI_API_KEY ||
settings.OPENAI_API_KEY
);
case ModelProviderName.CLAUDE_VERTEX:
case ModelProviderName.ANTHROPIC:
return (
character.settings?.secrets?.ANTHROPIC_API_KEY ||
Expand Down

0 comments on commit e6de3a5

Please sign in to comment.