Roo-Code/src
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
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00
activate chore: remove human-relay provider (#10388) 2025-12-30 15:38:46 -07:00
api fix(bedrock): only apply cross-region inference prefix to supported models 2026-01-06 02:39:11 +00:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core VSCode shim + basic cli (#10452) 2026-01-05 10:24:05 -08:00
extension feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
i18n [feat] Claude Code Provider Native Tool Calling (#10077) 2025-12-17 12:57:27 -08:00
integrations VSCode shim + basic cli (#10452) 2026-01-05 10:24:05 -08:00
services feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
shared feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
utils feat: deprecate XML tool protocol selection, force native for new tasks (#10281) 2025-12-22 17:49:50 -08:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts fix(claude-code): stop frequent sign-ins by hardening OAuth refresh (#10410) 2026-01-01 07:52:01 -08:00
package.json Changeset version bump (#10451) 2026-01-03 19:23:17 -05:00
package.nls.ca.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.de.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.es.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.fr.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.hi.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.id.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.it.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ja.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ko.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.nl.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.pl.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.pt-BR.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.ru.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.tr.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.vi.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.zh-CN.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
package.nls.zh-TW.json ux: Toolbar cleanup and settings consolidation (#9710) 2025-12-01 09:43:15 -05:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00