Diego Rodrigues de Sa e Souza
ceafa55824
fix(providers): select and verify the requested gemini-web model/mode before answering ( #13381 ) ( #13919 )
...
Root cause: GeminiWebExecutor.execute() opened the identical fixed
https://gemini.google.com/app URL and ran the identical Playwright
interaction sequence for every advertised gweb/<model> id. `model` was
read only AFTER the response was captured, purely to stamp the
OpenAI-shaped response — never to influence what was actually
clicked/typed, so two different advertised models produced
byte-identical automation and the response `model` field was a
caller-supplied label, not an observed fact.
Fix (owner decision, Option B): a new model -> Gemini UI mode map
(open-sse/executors/gemini-web/modeSelection.ts) drives an in-browser
selection step before anything is typed — try the mode control, read
back the active-mode indicator, and only proceed on a confirmed match.
An unconfirmed model, or a requested Extended Thinking control that
cannot be confirmed (#13381 follow-up comment), fails closed with 400
unsupported_control_for_provider instead of silently running the
account default under the requested label. The selectors involved are
UNVALIDATED (no live Gemini account from this checkout) — see the PR's
"Selector set is UNVALIDATED" section and the required live smoke.
Regression test: tests/unit/issue-13381-gemini-web-model-selection.test.ts
2026-09-17 13:06:37 -03:00
..
2026-09-11 17:41:29 -03:00
2026-09-16 12:59:45 -03:00
2026-09-01 00:50:15 -03:00
2026-09-17 12:44:25 -03:00
2026-09-16 06:17:57 -03:00
2026-08-21 10:28:01 -03:00
2026-07-04 13:00:30 -03:00
2026-08-09 09:51:37 -03:00
2026-08-08 09:08:45 -03:00
2026-08-26 08:09:38 -03:00
2026-09-17 13:06:37 -03:00
2026-07-04 13:00:30 -03:00
2026-09-11 22:05:53 -03:00
2026-07-04 13:00:30 -03:00
2026-09-02 10:41:00 -03:00
2026-09-02 15:56:49 -03:00
2026-07-04 13:00:30 -03:00
2026-09-03 21:00:14 -03:00
2026-07-21 13:16:58 -03:00
2026-09-02 05:12:11 -03:00
2026-09-03 20:58:22 -03:00
2026-08-22 21:51:22 -03:00
2026-09-03 20:57:21 -03:00
2026-07-26 03:53:10 -03:00
2026-09-03 12:40:21 -03:00
2026-08-18 12:27:46 -03:00
2026-09-16 06:11:41 -03:00
2026-08-26 17:54:57 -03:00
2026-09-17 10:46:52 -03:00
2026-08-28 04:45:17 -03:00
2026-08-09 09:52:16 -03:00
2026-08-09 09:52:16 -03:00
2026-09-10 18:12:57 -03:00
2026-09-16 12:59:45 -03:00
2026-08-11 07:15:08 -03:00
2026-06-29 08:40:06 -03:00
2026-09-16 06:15:47 -03:00
2026-09-01 00:50:15 -03:00
2026-09-02 10:31:41 -03:00
2026-08-28 06:52:46 -03:00
2026-07-31 07:53:41 -03:00
2026-06-29 08:40:06 -03:00
2026-09-03 21:31:13 -03:00
2026-09-03 23:43:38 -03:00
2026-08-09 09:52:23 -03:00
2026-08-30 11:09:37 -03:00
2026-09-03 08:24:32 -03:00
2026-09-03 07:50:22 -03:00
2026-08-11 09:06:47 -03:00
2026-08-23 16:49:19 -03:00
2026-09-16 17:01:51 -03:00
2026-08-25 21:15:24 -03:00
2026-08-13 00:02:25 -03:00
2026-08-23 02:24:01 -03:00
2026-08-21 08:50:24 -03:00
2026-08-21 22:32:19 -03:00
2026-08-21 08:50:24 -03:00
2026-08-11 08:40:48 -03:00
2026-08-31 14:13:46 -03:00
2026-09-16 15:34:54 -03:00
2026-08-06 06:05:46 -03:00
2026-07-13 09:12:40 -03:00
2026-07-04 13:00:30 -03:00
2026-08-28 04:44:34 -03:00
2026-09-16 06:12:28 -03:00
2026-08-31 14:13:46 -03:00
2026-09-11 17:41:56 -03:00
2026-09-11 22:06:26 -03:00
2026-08-12 08:40:18 -03:00
2026-07-07 13:14:06 -03:00
2026-08-30 11:10:47 -03:00
2026-08-06 11:07:42 -03:00
2026-08-21 08:25:03 -03:00
2026-08-21 14:16:42 -03:00
2026-08-09 09:51:49 -03:00
2026-09-17 13:06:37 -03:00
2026-08-24 19:57:12 -03:00
2026-08-23 16:51:25 -03:00
2026-08-23 19:06:53 -03:00
2026-09-16 06:17:42 -03:00
2026-07-04 13:00:30 -03:00
2026-09-17 12:56:30 -03:00
2026-09-16 08:15:21 -03:00
2026-09-03 20:59:56 -03:00
2026-08-28 04:45:17 -03:00
2026-09-11 22:05:53 -03:00
2026-07-27 21:12:45 -03:00
2026-09-03 07:50:22 -03:00
2026-08-05 22:31:30 -03:00
2026-05-24 18:05:58 -03:00
2026-05-07 00:01:54 +07:00
2026-08-22 18:55:23 -03:00
2026-08-13 07:52:41 -03:00
2026-08-06 00:09:11 -03:00
2026-08-26 09:21:44 -03:00
2026-06-27 09:07:12 -03:00
2026-08-05 22:41:25 -03:00
2026-09-02 10:41:00 -03:00
2026-09-02 01:55:42 -03:00
2026-08-13 07:52:41 -03:00
2026-08-21 08:02:19 -03:00
2026-08-26 09:22:03 -03:00
2026-09-03 21:31:13 -03:00
2026-08-21 20:28:16 -03:00
2026-09-02 10:41:00 -03:00
2026-09-03 21:06:28 -03:00
2026-09-16 12:59:45 -03:00
2026-09-15 20:39:39 -03:00
2026-09-15 22:01:56 -03:00
2026-09-15 20:39:39 -03:00
2026-09-15 20:10:57 -03:00
2026-09-15 20:58:12 -03:00
2026-09-03 21:00:14 -03:00
2026-06-29 08:40:06 -03:00
2026-08-23 07:01:04 -03:00
2026-07-21 13:16:58 -03:00
2026-08-07 20:52:54 -03:00
2026-08-25 18:22:46 -03:00
2026-07-02 10:47:13 -03:00
2026-07-27 17:24:39 -03:00
2026-08-15 05:15:17 -03:00
2026-09-03 08:29:14 -03:00
2026-09-11 22:04:41 -03:00
2026-07-27 17:24:39 -03:00
2026-09-11 22:29:02 -03:00
2026-09-02 02:23:33 -03:00
2026-07-13 09:12:40 -03:00
2026-06-29 08:40:06 -03:00
2026-08-05 22:30:08 -03:00
2026-09-16 16:37:41 -03:00
2026-08-28 14:07:39 -03:00
2026-08-18 10:52:52 -03:00
2026-08-07 11:23:07 -03:00
2026-09-16 06:15:47 -03:00
2026-08-22 22:54:49 -03:00
2026-09-03 08:29:14 -03:00
2026-09-15 00:11:18 -03:00
2026-06-27 09:07:12 -03:00