Update imageDescription.ts
This commit is contained in:
parent
27674a624d
commit
db15724b0c
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user