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
Payment settings: Update button disabled after changing Plan/Agent ID, API key disappears #78
But the API key is never loaded back from the server (it's encrypted server-side), so nvm_api_key is always empty after load. This means any field change still leaves the button disabled until the user re-enters the API key.
2. API key disappears and must be re-entered on every update
After a successful save, the API key is explicitly cleared (line 301):
form.value.nvm_api_key=''// Clear after save
Combined with the fact that loadConfig() never populates the API key field (lines 278-282), users must re-enter their API key every time they want to update any setting — even unrelated ones like Plan ID or credits.
Expected Behavior
Changing Plan ID, Agent ID, environment, or credits should enable the Update button without requiring the API key to be re-entered
The API key field should show a masked placeholder (e.g., ••••••••) when a key is already configured, indicating one is set
Only require the API key field when initially configuring or explicitly changing the key
Suggested Fix
Make nvm_api_key optional in isFormValid when a config already exists (config.value is non-null)
On the backend, treat an empty/missing nvm_api_key in the update payload as "keep existing key"
Show a placeholder in the API key field when a key is already stored (e.g., sk-****...****)
Track dirty state — only enable Update when at least one field actually changed from its saved value
Files
src/frontend/src/components/NeverminedPanel.vue — form validation and API key handling
Activity
feat(portal): chat-first app shell — sidebar history, agent picker, b…
feat(auth): portal_delegate key scope + single-route fence (ent#163) (#…
feat(workspace): tagging a person in a conversation reaches their Inb…