From 34c1f9a9594a1c57d6e453da57a1ab6b97efa71e Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Wed, 10 Jan 2024 17:16:00 -0800 Subject: [PATCH] update openAI key missing - error dialog message --- backend/routes/generate_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.py index bd2e0c2..092289c 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