Repository navigation
feat: support Google BYOK providers through Pi - #492
Merged
Merged
Conversation
1anZhang
approved these changes
Oct 15, 2026
hetaoBackend
approved these changes
Oct 15, 2026
cursor Bot
pushed a commit
to kinetick-labs/kinetick-code
that referenced
this pull request
Oct 15, 2026
Adapted from upstream 9a93560 (MiniMax-AI#492). google-generative-ai is added beside the existing custom, OpenRouter, DeepSeek, local, MiniMax, Codex and Copilot paths. Pi owns Google requests and thinking parameters; this runtime does not synthesize a Thinking patch for it. OpenCode Go still recognizes /zen/go and now also /inference/go. A Google connection probe without an API key fails before any request, matching the fork's keyless-provider distinction for other formats. Co-authored-by: kinetick-labs <kinetick-labs@users.noreply.github.com>
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.
Change
Allow manually configured
google-generative-aiproviders in the CLI and TUI, including OpenCode Go Gemini 4. Model requests and connection probes use the existing Pi Google adapter. Pi also owns Google thinking parameters; OpenCode Go's current/inference/goendpoints receive conversation headers.Production code grows by 63 net lines. No vendored Pi changes, new dependencies, native model discovery, or structured-output expansion. Includes a CLI setup example.
Validation
863f1a6. The default-concurrency capability run hit an existing updater test's 5-second timeout; rerunning the declared suite with two workers passed 218 files / 5502 tests, with 17 existing skips. Remaining gates passed individually.Publication and contribution checks
Maintainer handoff
No publication-scope or license changes. Shared-source port: pending.
Need help on this PR? Tag
@codesmith-botwith what you need.