Claude Code 在云环境中因 ANTHROPIC_API_KEY 失效而停止运行
2 分•作者: sroussey•3 个月前
如果你将 ANTHROPIC_API_KEY 放在云端环境中,这会导致 CC 无法正常工作。<p>所以,你之前使用它是因为你的测试会去寻找它,请重新考虑,寻找另一种方法。<p>此外,我怀疑这也是我出现大量“额外使用”的原因。<p>关于整个历史:<p>https://github.com/anthropics/claude-code/issues/54497<p>希望这能为其他人省去很多麻烦!
查看原文
If you put ANTHROPIC_API_KEY in the cloud environment, this will cause CC to fail to do anything.<p>So you were using it because your tests are going to look for it, think again, find another way.<p>Also, I suspect that is why I had a lot of "Extra usage".<p>For the whole long history:<p>https://github.com/anthropics/claude-code/issues/54497<p>Hope this saves some others a lot of headaches!