Skip to content

Commit

Permalink
Merge pull request #381 from bmgalego/agent-groq
Browse files Browse the repository at this point in the history
fix: adds Groq to getTokenForProvider
  • Loading branch information
lalalune authored Nov 18, 2024
2 parents 7930f77 + 1c2c315 commit e8353b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ export function getTokenForProvider(
character.settings?.secrets?.HEURIST_API_KEY ||
settings.HEURIST_API_KEY
);
case ModelProviderName.GROQ:
return (
character.settings?.secrets?.GROQ_API_KEY ||
settings.GROQ_API_KEY
);
}
}

Expand Down

0 comments on commit e8353b1

Please sign in to comment.