Skip to content

Commit

Permalink
mapping claude vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
Susanhu committed Dec 20, 2024
1 parent 8c0709c commit d331665
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 d331665

Please sign in to comment.