-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed as duplicate of#4512
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
I was using the BMAD Method templates with an older version of OpenCode, Zen Gemini 3 model and it was working fine. Upgrading to version 106 is now causing these issues with Gemini specifically:
* GenerateContentRequest.tools[0].function_declarations[11].parameters.properties[truncateMode].enum: only allowed for STRING type
* GenerateContentRequest.tools[0].function_declarations[23].parameters.properties[truncateMode].enum: only allowed for STRING type
* GenerateContentRequest.tools[0].function_declarations[29].parameters.properties[truncateMode].enum: only allowed for STRING type
* GenerateContentRequest.tools[0].function_declarations[31].parameters.properties[severityFilter].items.enum: only allowed for STRING type
Switching to another Zen model like Claude Sonnet 4.5 resolves the issue.
OpenCode version
1.0.106
Steps to reproduce
- Install the BMAD tools into an empty folder,
- Run OpenCode, choosing Zen Gemini 3 Pro as the model,
- Try a custom command like
/bmad-workflow-bmm-workflow-statusand the errors occur, - Change the model to Zen Claude Sonnet 4.5,
- Run the same custom command and the command completes as expected.
Screenshot and/or share link
No response
Operating System
Omarchy Arch Linux
Terminal
Ghostty
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui