0

Update imageDescription.ts

This commit is contained in:
Nicolas 2024-04-17 10:39:29 -07:00 committed by GitHub
parent 27674a624d
commit db15724b0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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");
}