[BUG] Key Override Not Applying Correctly in console after enabling overriding in config

Resolved 💬 4 comments Opened Mar 31, 2025 by NanoBjorn Closed Apr 1, 2025

Environment

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.56
  • Feedback ID: 49f506b5-b597-4566-b6e2-306def03b8cc

Bug Description

I have an API key in env variable ANTHROPIC_API_KEY, overriding is enabled in the config (and config shows correct key), but when I open claude console, it is showing "Overrides (via env):..." and there is another key, created long time ago. I cannot find a way to use my custom key without relogginning

Steps to Reproduce

  1. Login to some account locally
  2. Define ANTHROPIC_API_KEY with a different key
  3. Open /config and enable override
  4. Reopen claude, it will show Overrides: ... key of the original account ...

Expected Behavior

I expect overrides to work when I enable them.

Actual Behavior

Overrides: ... key of the original account, not override ...

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗