Roo-Code/packages
Roo Code df31ccdf38 fix: add Gemma 4 models to geminiModels map and stop silent model ID fallback
- Add gemma-4-31b-it, gemma-4-12b-it, gemma-4-6b-it, gemma-4-4b-it,
  and gemma-4-1b-it to the geminiModels map with correct context windows
  and capabilities
- Fix silent fallback in GeminiHandler.getModel() that replaced unknown
  model IDs with geminiDefaultModelId (gemini-3.1-pro-preview)
- Apply the same fix to VertexHandler.getModel()
- Now preserves user-provided model ID and only falls back on model info
- Update tests to verify unknown models are passed through and Gemma 4
  models are natively recognized

Closes #12166
2026-04-22 18:53:14 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud Changeset version bump (#12085) 2026-04-08 15:16:12 -06: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 Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
evals Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
ipc Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
telemetry Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
types fix: add Gemma 4 models to geminiModels map and stop silent model ID fallback 2026-04-22 18:53:14 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00