-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
When attempting to use Claude 3 Haiku (anthropic.claude-3-haiku-20240307-v1:0) through AWS Bedrock with Roo Code, requests fail with:
Provider ended the request: Unknown Error: The model returned the following errors: invalid beta flag
I believe the issue is the Claude CLI adds the token-efficient-tools beta header by default (since it's optimized for Claude 3.7 Sonnet, which supports this feature). However, Claude 3 Haiku does not support this beta feature, causing Bedrock to reject the request before it reaches the model.
Context (who is affected and when)
All users running Haiku 3
Reproduction steps
- On Roo Code (Using Ubuntu) select Haiku 3 as the model with Amazon Bedrock
- Test the model
- Error
Expected result
Haiku 3 works
Actual result
Haiku 3 throws an error
Variations tried (optional)
No response
App Version
3.50.4
API Provider (optional)
Amazon Bedrock
Model Used (optional)
Claude 3 Haiku
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working