Dashboard config tab hides LLM API key values, shows "none" even when configured
Description
The Memorix dashboard config tab shows "no LLM API key" or similar message, while CLI commands confirm the LLM API key is properly configured and working.
Steps to Reproduce
- Configure LLM API key in ~/.memorix/.env: MEMORIX_LLM_API_KEY=sk-cp-xxx MEMORIX_LLM_BASE_URL=https://api.minimax.io/v1
- Configure LLM in ~/.memorix/memorix.yml: llm: provider: minimax-coding-plan model: MiniMax-M2.7
- Run memorix background start
- Open dashboard at http://localhost:3211
- Navigate to Config tab
- Observe that LLM API key is shown as "none"
Expected Behavior
Dashboard Config tab should show the same LLM configuration as CLI commands. And source should be shown as ".env", in my case.
Actual Behavior
- Dashboard Config tab: "llm.apiKey: none"
- CLI doctor: Shows LLM is working (minimax-coding-plan/MiniMax-M2.7)
- CLI status: Shows "LLM API key: sk-*** (← env:MEMORIX_LLM_API_KEY)"
- LLM functionality works correctly (reranking, fact extraction, deduplication all active)
Environment
- Memorix version: v1.0.6
- OS: Windows
- Node.js runtime
- Background HTTP mode with dashboard
Additional Context
This is likely the same root cause as the embedding display bug - dashboard does not properly read or display configuration from memorix.yml or .env files, while CLI tools show correct values. The actual LLM functionality works correctly; only the dashboard UI display is affected.
Notes
CLI tools (memorix status, memorix doctor) are reliable indicators of actual LLM configuration. The dashboard config tab appears to not properly display secret/API key values even when they are correctly configured and functioning.
Thanks for reporting this. We’ve confirmed this is a real dashboard/config display bug, and we plan to fix it in the upcoming v1.0.7 release line. We’ll handle it together with the related control-plane/dashboard correctness issues so the configuration view reports the actual effective state consistently.
Fixed in v1.0.7 Dashboard /api/config endpoint now calls loadDotenv() before reading process.env, so .env file values (MEMORIX_LLM_API_KEY, MEMORIX_EMBEDDING_API_KEY, etc.) are properly loaded and displayed. Source provenance now distinguishes between .env file and system env vars.
Fixed in v1.0.7 Dashboard /api/config endpoint now calls loadDotenv() before reading process.env, so .env file values (MEMORIX_LLM_API_KEY, MEMORIX_EMBEDDING_API_KEY, etc.) are properly loaded and displayed. Source provenance now distinguishes between .env file and system env vars.
Hi. When the 1.0.7 release will be uploaded?