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
backend: notify users when their BYOK key is invalid or exhausted #7291
Users who set BYOK keys that are invalid, expired, or over-quota get silent failures — their memories, embeddings, and action-items fail without any user-facing notification. Users likely don't know their key is broken.
Expected Behavior
When a BYOK LLM call fails with 401 (invalid key), 403 (permission denied), or 429 insufficient_quota, the user should receive a notification telling them their key needs attention.
Proposed Fix
Catch BYOK-specific LLM errors (AuthenticationError, PermissionDeniedError, RateLimitError with insufficient_quota) at the call site
Surface a user notification via one or more of:
Push notification
In-app banner
Webhook callback
Optionally disable BYOK fallback to platform key temporarily so the user notices the issue instead of silently degrading
Activity
beastoin commentedon Jun 10, 2026
Closing as not planned per CTO directive (2026-06-10).
by AI for @beastoin