mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
* fix(ai): remove global process.env.ANTHROPIC_API_KEY deletion The code was deleting process.env.ANTHROPIC_API_KEY to prevent the SDK from using it when OAuth tokens were provided. However, this was a global mutation that affected the entire Node.js process, causing the API key to be unavailable after the first prompt. The Anthropic SDK constructor already handles credential selection via parameters (apiKey: null, authToken: token for OAuth vs apiKey: key for regular keys), so the environment variable deletion was unnecessary. * Update CHANGELOG.md for API key fix |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| coding-agent | ||
| mom | ||
| pods | ||
| proxy | ||
| tui | ||
| web-ui | ||