Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow
MOSOO_E2E_PROVIDER=geminiin the existing live Preview and Public API runtime smoke cases. Use the existing admitted Gemini default on OpenCode, its public endpoint, and provider-owned credentials. Preview selects the matching model and confirms the saved selection after reload.Why
Gemini is already admitted by the runtime catalog (#661), but the smoke harness rejects that provider before creating an agent. This expands the harness without changing admission, model metadata, protocol inference, or pricing.
Extracted from #693 following review request 6. Existing issues and PRs were searched; no dedicated open harness issue was found. No issue is closed by this PR.
Prerequisites for online acceptance
All branches target
mainindependently. This Draft contains only the Gemini harness delta; it does not duplicate those fixes.Verification
just test-file scripts/e2e-env-preflight.test.ts: 3 passed (Gemini identity/model, generic-key precedence, missing-key failure before resource creation).just tc-package @mosoo/e2e;just lint;just docs-check;just commit-check: passed.just checkwas not run.Review
MOSOO_E2E_GEMINI_API_KEYexample; generic key override keeps precedence.Impact
Design
N/A: no product UI changes.