Continue Error Handling Response Claude 3.7 Sonnet
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 believe this is a bug. I'll try to join the Continue Discord for questions
- [ ] 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:
- Continue version:
- IDE version:
- Model:
- config:
OR link to agent in Continue hub:
Description
There was an error handling the response from AWS Bedrock - Claude 3.7 Sonnet.
Please try to submit your message again, and if the error persists, let us know by reporting the issue using the buttons below.
The model returned the following errors: invalid beta flag.
To reproduce
No response
Log output
@gbrac this could be related to the recent AWS outage, was there any other information about this error? Do you see anything in the logs? https://docs.continue.dev/troubleshooting#troubleshooting
No not the outage, it started at least for me when I upgraded to VSCode 1.2.7 version of the plugin, I tried again this morning with 1.2.10 and I still get the same error. If I revert back to 1.2.6 it works just fine. The same thing happens in the Jetbrains plugin you need to revert back to 1.0.45 for that work
Here is the log from VSCode
[Extension Host] [@continuedev] error: The model returned the following errors: invalid beta flag {"context":"llm_stream_chat","model":"arn:aws-us-gov:bedrock:us-gov-west-1::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0","provider":"bedrock","useOpenAIAdapter":false,"streamEnabled":true,"templateMessages":false}
console.ts:137 [Extension Host] ValidationException: The model returned the following errors: invalid beta flag
at de_ValidationExceptionRes (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:462204:25)
at de_CommandError (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:462021:23)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:443304:24
at async /Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:443427:22
at async /Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:453528:42
at async /Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:443037:26
at async Bedrock2._streamChat (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:465842:26)
at async createRetryableAsyncGenerator (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:465709:22)
at async Bedrock2.wrappedMethod (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:465640:11)
at async Bedrock2.streamChat (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:243999:32)
at async llmStreamChat (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:722150:19)
at async od.handleMessage [as value] (/Users/user/.vscode/extensions/continue.continue-1.2.10-darwin-arm64/out/extension.js:760617:29)
This is the same issue as #8297
I have the same issue.
Have bumped priority on this, also open to contributions.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!