Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
update openAI key missing - error dialog message
Abi Raja34c1f9a9594a
diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.pyindex bd2e0c21..092289c7 100644--- a/backend/routes/generate_code.py+++ b/backend/routes/generate_code.py@@ -92,7 +92,7 @@ async def stream_code(websocket: WebSocket):await websocket.send_json({"type": "error",- "value": "No OpenAI API key found. Please add your API key in the settings dialog or add it to backend/.env file.",+ "value": "No OpenAI API key found. Please add your API key in the settings dialog or add it to backend/.env file. If you add it to .env, make sure to restart the backend server.",})return