Error handling model response
Before submitting your bug report
- [ ] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [ ] I'm not able to find a related conversation on GitHub discussions that reports the same bug
- [ ] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:win 11
- Continue version:
- IDE version:
Version: 1.106.3 (user setup)
Commit: bf9252a2fb45be6893dd8870c0bf37e2e1766d61
Date: 2025-11-25T22:28:18.024Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
- Model:
- config:
OR link to agent in Continue hub:
Description
"We couldn't find a secret with the name "ANTHROPIC_API_KEY". To add this secret, you can:\n - Create a personal secret at https://hub.continue.dev/settings/secrets?secretName=ANTHROPIC_API_KEY\n - Purchase the Models Add-On for easy access to the best models at a flat monthly fee\n - If you are part of an organization that has already configured this secret, you may just need to switch to that organization"
To reproduce
No response
Log output
Duplicate/Related Issues
This issue appears to be a duplicate or closely related to several other open issues reporting the same ANTHROPIC_API_KEY secret error:
- #8890 - Identical error message about ANTHROPIC_API_KEY not found
- #8844 - Same error with additional context about Claude 4 Sonnet model
- #8444 - Same error, user reports having a paid subscription
- #8462 - Identical error message
Similar issues with OPENAI_API_KEY:
- #8911 - Same pattern but for OPENAI_API_KEY
- #8924 - Same pattern but for OPENAI_API_KEY
All these issues involve the Continue Hub secrets management system not finding API keys.
Hello,
Thank you for reporting this. I've added a brief troubleshooting guide for this error here: https://github.com/continuedev/continue/issues/9766#issuecomment-3787240271
I will close this for now as it is a common expected error. If you think it's unexpected based on your context, or experience a similar error and think it's a bug, please open a new issue with more details.