diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.py index 589be2d..d90e82c 100644 --- a/backend/routes/generate_code.py +++ b/backend/routes/generate_code.py @@ -212,7 +212,7 @@ async def stream_code(websocket: WebSocket): if code_generation_model == "claude_3_sonnet": if not ANTHROPIC_API_KEY: await throw_error( - "No Anthropic API key found. Please add it to backend/.env" + "No Anthropic API key found. Please add the environment variable ANTHROPIC_API_KEY to backend/.env" ) raise Exception("No Anthropic key")