Description
opencode 1.18.35 with gemini fails to communicate with the gemini api. attempting to use any of their models results in the following error
Invalid value at 'tools[0].function_declarations[10].parameters.properties[10].value.enum[0]' (TYPE_STRING), true
Invalid value at 'tools[0].function_declarations[41].parameters.properties[0].value.properties[5].value.items.properties[7].value.enum[0]' (TYPE_STRING), false
Plugins
diff-viewer internal:home-footer internal:home-tips internal:notifications internal:sidebar-context internal:sidebar-files internal:sidebar-footer internal:sidebar-lsp internal:sidebar-mcp internal:sidebar-todo which-key
OpenCode version
1.18.35
Steps to reproduce
- add a gemini api key
- swap to a gemini model
- weep
Screenshot and/or share link
Operating System
arch linux
Terminal
GNOME Console
Description
opencode
1.18.35with gemini fails to communicate with the gemini api. attempting to use any of their models results in the following errorPlugins
diff-viewer internal:home-footer internal:home-tips internal:notifications internal:sidebar-context internal:sidebar-files internal:sidebar-footer internal:sidebar-lsp internal:sidebar-mcp internal:sidebar-todo which-key
OpenCode version
1.18.35
Steps to reproduce
Screenshot and/or share link
Operating System
arch linux
Terminal
GNOME Console