Description
Hi, I assume there was an update either to this repository or to some Google policy again, because since today I can’t access Google models at all.
I’m getting the following error:
Bad Request: [{
"error": {
"code": 400,
"message": "Unable to submit request because `edit` functionDeclaration `parameters.edits` schema specified other fields alongside any_of. When using any_of, it must be the only field set. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling",
"errors": [
{
"message": "Unable to submit request because `edit` functionDeclaration `parameters.edits` schema specified other fields alongside any_of. When using any_of, it must be the only field set. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/function-calling",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}]
Reproduction Steps
Steps to reproduce the behavior:
- Open
opencode
- Select
gemini-3-pro-preview or gemini-3.1-pro-preview
- Run any prompt i did
test
- See error
Expected Behavior
Should not crash
Actual Behavior
Error being raised
Opencode Information
- Opencode Type: cli
- Opencode Version: 1.2.6
Description
Hi, I assume there was an update either to this repository or to some Google policy again, because since today I can’t access Google models at all.
I’m getting the following error:
Reproduction Steps
Steps to reproduce the behavior:
opencodegemini-3-pro-previeworgemini-3.1-pro-previewtestExpected Behavior
Should not crash
Actual Behavior
Error being raised
Opencode Information