update error message for video

This commit is contained in:
Abi Raja 2024-03-19 13:51:30 -04:00
parent b57f34d73a
commit 62272e3a68

View File

@ -230,7 +230,7 @@ async def stream_code(websocket: WebSocket):
if validated_input_mode == "video":
if not ANTHROPIC_API_KEY:
await throw_error(
"No Anthropic API key found. Please add the environment variable ANTHROPIC_API_KEY to backend/.env"
"Video only works with Anthropic models. No Anthropic API key found. Please add the environment variable ANTHROPIC_API_KEY to backend/.env"
)
raise Exception("No Anthropic key")