feat(ai): add Google image generation#37781
Merged
Merged
Conversation
opencode-agent
Bot
force-pushed
the
google-images
branch
from
July 19, 2026 16:15
c3e8bcf to
af6b036
Compare
opencode-agent
Bot
force-pushed
the
google-images
branch
from
July 20, 2026 20:04
af6b036 to
4314021
Compare
github-actions Bot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 20, 2026
* upstream/v2: (63 commits) feat(codemode): add Set method parity (anomalyco#38000) fix(core): match dev patch behavior (anomalyco#37709) refactor(tui): migrate diff viewer to V2 theme (anomalyco#37999) feat(ai): support image-guided generation (anomalyco#37998) feat(ai): add Z.ai image generation (anomalyco#37780) chore: merge dev into v2 (anomalyco#37996) refactor(tui): expose theme colors as properties (anomalyco#37995) feat(ai): add Google image generation (anomalyco#37781) fix(cli): isolate bun updater cache feat(ai): add xAI image generation (anomalyco#37778) feat(codemode): add groupBy parity (anomalyco#37992) refactor(ai): infer image provider options (anomalyco#37948) fix(core): ignore empty provider api keys feat(tui): add categorical theme hues (anomalyco#37985) refactor(core): inject models options refactor(server): inject database options fix(tui): make migrated selected background transparent (anomalyco#37967) feat(codemode): complete date parity (anomalyco#37960) feat(codemode): complete regexp and math parity (anomalyco#37955) fix(tui): adapt file badge accent to theme mode (anomalyco#37953) ...
github-actions Bot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Jul 21, 2026
* upstream/v2: (65 commits) refactor(server): inject runtime options refactor(server): centralize server options feat(codemode): add Set method parity (anomalyco#38000) fix(core): match dev patch behavior (anomalyco#37709) refactor(tui): migrate diff viewer to V2 theme (anomalyco#37999) feat(ai): support image-guided generation (anomalyco#37998) feat(ai): add Z.ai image generation (anomalyco#37780) chore: merge dev into v2 (anomalyco#37996) refactor(tui): expose theme colors as properties (anomalyco#37995) feat(ai): add Google image generation (anomalyco#37781) fix(cli): isolate bun updater cache feat(ai): add xAI image generation (anomalyco#37778) feat(codemode): add groupBy parity (anomalyco#37992) refactor(ai): infer image provider options (anomalyco#37948) fix(core): ignore empty provider api keys feat(tui): add categorical theme hues (anomalyco#37985) refactor(core): inject models options refactor(server): inject database options fix(tui): make migrated selected background transparent (anomalyco#37967) feat(codemode): complete date parity (anomalyco#37960) ...
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
Google.configure(...).image(modelID)backed by GeminigenerateContentgenerationConfig, while raw native values override aliases andhttp.bodyremains the final deep overlaythought: trueimages while preserving ordered candidate/part metadata, signatures, complete raw usage, and no-image diagnosticsTests
bun x prettier --check README.md src/protocols/google-images.ts src/providers/google.ts test/image.test.ts test/image.types.ts test/provider/google-images.recorded.test.tsbun typecheckbun run buildbun test test/image.test.ts --timeout 30000(4 passed)RECORDED_PREFIX=google-images bun test test/provider/google-images.recorded.test.ts --timeout 30000(1 passed)bun test --timeout 30000 --only-failures(382 passed, 29 skipped)git diff --checkcontent-type; no credential materialCassette
Requested by: @rekram1-node (Aiden Cline via Slack)