You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With proper AWS credentials and region set in my env I'm getting this error when prompting:
AI_APICallError: undefined: Invocation of model ID anthropic.claude-sonnet-4-20250514-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains model
Using Claude models on Bedrock seems to require specifying the region in model ID
Activity
fix(#243): claude on aws bedrock (#241)
alejandro-angulo commentedon Jun 24, 2025
I think this might be resolved. I got it to work by specifying both
AWS_PROFILEandAWS_REGIONas environment variables.(Glad I found this issue because it helped me realize my version of opencode was out-of-date.)
adamdotdevin commentedon Jun 25, 2025
yeah, this was fixed in #243, closing
Merge branch 'shuvcode-dev' into integration
fix(anomalyco#243): claude on aws bedrock (anomalyco#241)
fix(anomalyco#243): claude on aws bedrock (anomalyco#241)