You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][personal-assistant]: statewave_integration.py reads OPENAI_API_KEY while the rest of the repo uses LLM_API_KEY #480
The app and the copy-paste integration module read the LLM key from different env vars:
The app, .env.example, README.md (lines 175, 608, 612) and CLAUDE.md all use LLM_API_KEY.
statewave_integration.py:56 reads OPENAI_API_KEY: AsyncOpenAI(api_key=os.getenv("OPENAI_API_KEY", "")), and its docstring (line 19) plus integrate.html (lines 358, 555) say the same.
statewave_integration.py is the file the /integrate page tells people to download (GET /static/statewave_integration.py). Someone who already has a working .env from this repo runs it and gets an OpenAI 401, because OPENAI_API_KEY is empty.
Expected Behavior
One env var name across the repo.
Suggested fix
In statewave_integration.py, read LLM_API_KEY and fall back to OPENAI_API_KEY:
Activity
stealth-raptor commentedon Oct 5, 2026
Hi @jy7lsna I would like to work on this issue. I will look into the existing implementation and submit a PR with the fix