Skip to content

Amazon Bedrock Invalid Beta Flag Issue #8297

@gcwngo

Description

@gcwngo

Before submitting your bug report

Relevant environment info

- OS: Windows
- Continue version: 1.2.9
- IDE version: Visual Studio Code 1.105.0
- Model: 
- config:
  
      "provider": "bedrock",
      "model": "anthropic.claude-3-7-sonnet-20250219-v1:0",
      "region": "us-gov-west-1",
  
  OR link to agent in Continue hub:

Description

Image

Getting this invalid beta flag issue when using Continue in Bedrock GovCloud (Claude 3.7 Sonnet). Not sure if Continue is trying to use feature not available in Bedrock, and/or more specifically in the GovCloud regions, ex. us-gov-west-1

Rolling back to previous release versions seems to be the only workaround at the moment, would greatly appreciate help and guidance.

Thanks!

To reproduce

Latest versions of Continue and Visual Studio Code

config.yaml:

name: AWS Bedrock - Configurations
version: 0.0.1
schema: v1
models:

  • name: AWS Bedrock - Claude 3.7 Sonnet
    provider: bedrock
    model: arn:aws-us-gov:bedrock:us-gov-west-1::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0
    env:
    region: us-gov-west-1
    profile: bedrock
    roles:
    • chat
    • edit
    • apply
    • summarize
      context:
  • provider: codebase
  • provider: code
  • provider: open
  • provider: problems
  • provider: currentFile
  • provider: docs
  • provider: diff
  • provider: folder
  • provider: terminal
    rules:
  • Act as an expert software developer that can write code that is clean,
    efficient, and well-documented as well as write unit tests for the code
    proposed
  • Give concise responses
  • Always annotate functions with their parameter and return types

Log output

ERR [Extension Host] Error handling webview message: {
"msg": {
"messageId": "6fe0a19e-3650-46b3-a890-6ed4010ac7ce",
"messageType": "llm/streamChat",
"data": {
"completionOptions": {
"reasoning": false
},
"title": "AWS Bedrock - Claude 3.7 Sonnet",
"messages": [
{
"role": "system",
"content": "<important_rules>\n You are in chat mode.\n\n If the user asks to make changes to files offer that they can use the Apply Button on the code block, or switch to Agent Mode to make the suggested updates automatically.\n If needed concisely explain to the user they can switch to agent mode using the Mode Selector dropdown and provide no other details.\n\n Always include the language and file name in the info string when you write code blocks.\n If you are editing "src/main.py" for example, your code block should start with 'python src/main.py'\n\n When addressing code modification requests, present a concise code snippet that\n emphasizes only the necessary changes and uses abbreviated placeholders for\n unmodified sections. For example:\n\n language /path/to/file\n // ... existing code ...\n\n {{ modified code here }}\n\n // ... existing code ...\n\n {{ another modification }}\n\n // ... rest of code ...\n \n\n In existing files, you should always restate the function or class that the snippet belongs to:\n\n language /path/to/file\n // ... existing code ...\n\n function exampleFunction() {\n // ... existing code ...\n\n {{ modified code here }}\n\n // ... rest of function ...\n }\n\n // ... rest of code ...\n ```\n\n Since users have access to their complete file, they prefer reading only the\n relevant modifications. It's perfectly acceptable to omit unmodified portions\n at the beginning, middle, or end of files using these "lazy" comments. Only\n provide the complete file when explicitly requested. Include a concise explanation\n of changes unless the user specifically asks for code only.\n\n</important_rules>\n\nAct as an expert software developer that can write code that is clean, efficient, and well-documented as well as write unit tests for the code proposed\n\nGive concise responses\n\nAlways annotate functions with their parameter and return types"
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "hello"
}
]
}
],
"messageOptions": {
"precompiled": true
}
}
}
}

CredentialsProviderError: Could not load credentials from any providers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bedrockide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions