Update imageDescription.ts
This commit is contained in:
parent
27674a624d
commit
db15724b0c
@ -15,7 +15,7 @@ export async function getImageDescription(
|
|||||||
". Be super concise."
|
". Be super concise."
|
||||||
|
|
||||||
switch (model) {
|
switch (model) {
|
||||||
case 'anthropic': {
|
case 'claude-3-opus': {
|
||||||
if (!process.env.ANTHROPIC_API_KEY) {
|
if (!process.env.ANTHROPIC_API_KEY) {
|
||||||
throw new Error("No Anthropic API key provided");
|
throw new Error("No Anthropic API key provided");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user