Hacker News (curated)new | past | comments | ask | show | jobs| show hidden

Interesting could be a bug on my end. I'll look and see if it's a problem with how I set up my sandboxes, or something related to the precedence when both are available in the environment. With all the back and forth on their messaging at the time I took it as a cue to remove the Claude Code dependency from my workflow and start using other providers' models more.


I can confirm that the priority is alwys given to credentials, as they themselves state in the documentation they updated yesterday: https://support.claude.com/en/articles/15036540-use-the-clau... Essentially, in the -p option, if an ANTHROPIC_API_KEY is present, it is always used instead of the login; see here https://code.claude.com/docs/en/authentication#authenticatio..., so I would suggest you check your environment variables



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact | github