Claude Code 在云环境中因 ANTHROPIC_API_KEY 而终止。

2作者: sroussey6 天前原帖
如果你在云环境中放置了 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 &quot;Extra usage&quot;.<p>For the whole long history:<p>https:&#x2F;&#x2F;github.com&#x2F;anthropics&#x2F;claude-code&#x2F;issues&#x2F;54497<p>Hope this saves some others a lot of headaches!