update openAI key missing - error dialog message

This commit is contained in:
Abi Raja 2024-01-10 17:16:00 -08:00
parent 6d942f3cd7
commit 34c1f9a959

View File

@ -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