openclaw/extensions/google
Robin Waslander d1b0f8e8e2
fix(google): resolve Gemini 3.1 models for all Google provider aliases (#56567)
The forward-compat resolver hardcoded 'google' as the provider ID for
template lookup, so alias providers (google-vertex, google-gemini-cli)
could not find matching templates. Pass the actual provider ID from the
runtime context and add a templateProviderId fallback for cross-provider
template resolution.

Also fix flash-lite prefix ordering — check 'gemini-3.1-flash-lite'
before 'gemini-3.1-flash' to prevent misclassification.

Add regression tests for pro, flash, and flash-lite across provider
aliases.

Fixes #36111
2026-03-28 19:59:14 +01:00
..
src refactor: move provider model helpers into plugins 2026-03-27 20:20:31 +00:00
api.ts fix: break plugin-sdk provider barrel recursion 2026-03-27 23:47:04 +00:00
bundled-web-search.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
cli-backend.ts feat: pluginize cli inference backends 2026-03-26 15:11:15 +00:00
gemini-cli-provider.ts refactor: slim plugin sdk provider entrypoints 2026-03-27 01:45:53 +00:00
google-shared.test-helpers.ts refactor(plugins): move remaining channel and provider ownership out of src 2026-03-22 19:13:25 -07:00
google-shared.test.ts test: collapse search helper suites 2026-03-25 00:42:09 +00:00
image-generation-provider.test.ts test(google): spy on image-generation auth surface 2026-03-27 00:51:38 -05:00
image-generation-provider.ts refactor: move provider model helpers into plugins 2026-03-27 20:20:31 +00:00
index.ts fix(google): resolve Gemini 3.1 models for all Google provider aliases (#56567) 2026-03-28 19:59:14 +01:00
media-understanding-provider.ts refactor: clean plugin capability boundaries 2026-03-26 21:41:49 +00:00
media-understanding-provider.video.test.ts fix(ci): route extension tests through public test bridges 2026-03-27 15:20:01 +00:00
model-id.ts refactor: move provider seams behind plugin sdk surfaces 2026-03-27 23:26:26 +00:00
oauth.credentials.ts tests(google): inject oauth credential fs stubs 2026-03-17 09:46:58 -04:00
oauth.flow.ts refactor: trim provider oauth runtime seams 2026-03-28 02:08:29 +00:00
oauth.http.ts refactor: trim provider oauth runtime seams 2026-03-28 02:08:29 +00:00
oauth.project.ts refactor(google): split oauth flow modules 2026-03-16 02:11:18 +00:00
oauth.runtime.ts fix(auth): lazy-load provider oauth helpers 2026-03-18 13:40:28 -07:00
oauth.shared.ts refactor(google): split oauth flow modules 2026-03-16 02:11:18 +00:00
oauth.test.ts test: speed up google and twitch suites 2026-03-24 16:26:58 +00:00
oauth.token.ts refactor(google): split oauth flow modules 2026-03-16 02:11:18 +00:00
oauth.ts refactor(google): split oauth flow modules 2026-03-16 02:11:18 +00:00
openclaw.plugin.json refactor: move bundled plugin policy into manifests 2026-03-27 16:40:27 +00:00
package.json chore: bump version metadata to 2026.3.27 2026-03-28 02:00:22 +00:00
plugin-registration.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
provider-models.test.ts fix(google): resolve Gemini 3.1 models for all Google provider aliases (#56567) 2026-03-28 19:59:14 +01:00
provider-models.ts fix(google): resolve Gemini 3.1 models for all Google provider aliases (#56567) 2026-03-28 19:59:14 +01:00
provider-runtime.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
provider.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
runtime-api.ts refactor: move provider model helpers into plugins 2026-03-27 20:20:31 +00:00
test-api.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
web-search-provider.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
web-search-provider.ts refactor: shortcut bundled provider contract fixtures 2026-03-27 04:44:43 +00:00