Skip to content

Commit

Permalink
Update imageDescription.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara authored Apr 17, 2024
1 parent 27674a6 commit db15724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/scraper/WebScraper/utils/imageDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function getImageDescription(
". Be super concise."

switch (model) {
case 'anthropic': {
case 'claude-3-opus': {
if (!process.env.ANTHROPIC_API_KEY) {
throw new Error("No Anthropic API key provided");
}
Expand Down

0 comments on commit db15724

Please sign in to comment.