Roo-Code/packages
Roo Code e7b170e2ca fix(bedrock): only apply cross-region inference prefix to supported models
This fix addresses Issue #10473 where users received "The provided model
identifier is invalid" error when using AWS Bedrock with models like Qwen
while cross-region inference was enabled.

Changes:
- Add BEDROCK_CROSS_REGION_INFERENCE_MODEL_IDS constant listing models that
  support cross-region inference (Anthropic Claude models only)
- Modify getModel() to check if model supports cross-region inference before
  applying the region prefix
- Update tests to reflect the new behavior

When cross-region inference is enabled but a model does not support it
(e.g., Qwen, Amazon Nova, Meta Llama), the prefix is now silently skipped
instead of being applied and causing an invalid model identifier error.
2026-01-06 02:39:11 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud ux: Provider-centric signup (#10306) 2025-12-23 14:59:29 -08:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Add support for npm packages and .env files to custom tools (#10336) 2025-12-26 09:43:35 -08:00
evals Add an option to use our cli for evals (#10456) 2026-01-05 11:33:19 -08:00
ipc Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
telemetry feat(telemetry): add PostHog exception tracking for consecutive mistake errors (#10193) 2025-12-18 12:59:37 -08:00
types fix(bedrock): only apply cross-region inference prefix to supported models 2026-01-06 02:39:11 +00:00
vscode-shim VSCode shim + basic cli (#10452) 2026-01-05 10:24:05 -08:00