{{ message }}
fix(gemini): prevent gemini incompatibility with some tools#31877
Merged
rekram1-node merged 1 commit intoJun 11, 2026
Conversation
Contributor
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
2ed7b0d to
99504d1
Compare
|
Looks nice! Is this something you could look at to get Gemini working with opencode? @thdxr |
Collaborator
|
I don't think this matches how ai-sdk/google behaves |
Collaborator
|
99504d1 to
35581b1
Compare
Contributor
Author
|
@rekram1-node tried to align it more to how the adapter works |
Collaborator
|
@Killusions thx, also do u mind adding a test case for this by chance? Im sure there are prolly some more cases we need to handle better too but for now just adding a new test will be nice |
Some MCPs fail with Gemini (at least via GitHub Copilot) Close anomalyco#19276
35581b1 to
612607c
Compare
Contributor
Author
|
@rekram1-node Added one |
isaacfinnegan
pushed a commit
to isaacfinnegan/whispercode
that referenced
this pull request
Jun 15, 2026
leduyphuc1702
pushed a commit
to leduyphuc1702/opencode-workflow
that referenced
this pull request
Jun 16, 2026
davidgut1982
pushed a commit
to davidgut1982/opencode
that referenced
this pull request
Jun 19, 2026
markjaquith
pushed a commit
to markjaquith/opencode
that referenced
this pull request
Jun 23, 2026
BenGu3
pushed a commit
to BenGu3/opencode
that referenced
this pull request
Jun 27, 2026
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.

Issue for this PR
Closes #19276
Type of change
What does this PR do?
Fixes a type schema incompatibility with Gemini and some tools/MCPs (occured through GitHub Copilot).
How did you verify your code works?
Tested locally.
Screenshots / recordings
None
Checklist