-
Notifications
You must be signed in to change notification settings - Fork 377
feat(remote): dispatch Gemini browser models through the Gemini web executor #392
Copy link
Copy link
Open
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Problem
Oracle 0.18.0 supports Gemini browser runs through
createGeminiWebExecutor, but that provider selection is local-only.In
bin/oracle-cli.ts, both the new-run and restart paths select the remote executor first:The remote server then defaults
/runstorunBrowserModefrombrowserMode.ts. The remote payload carriesbrowserConfig.desiredModel, but the server does not use it to select the Gemini web executor.I did not find an existing issue for remote Gemini. This report is based on source inspection at
083bba7e61f487ad3d99b42039d9f603f61dc4ff. A live local Gemini smoke reached the manual-login cookie extraction path, so the host-side authentication design works independently of this dispatch gap.Expected behavior
A browser run with a Gemini model and
--remote-hostshould execute the Gemini web provider on the remote host. Google cookies and browser state must remain on that host.An unknown browser provider should fail before launching the ChatGPT executor. It should not silently substitute providers.
Suggested shape
Extract the local browser-provider selection into one shared resolver used by:
src/remote/server.tsThe existing
browserConfig.desiredModelmay be enough to preserve the current wire schema. An explicit provider field would make the contract easier to validate if model aliases can be ambiguous.The remote server should keep its current credential policy: discard client-supplied inline cookies and use only host-side cookie or manual-login configuration.
Regression tests
runBrowserMode.createGeminiWebExecutor.I can prepare a PR after the preferred resolver and wire-contract shape are confirmed.