opencode
opencode copied to clipboard
Gemini Bad Request with Github Copilot
Description
No matter which Gemini model I use with Github Copilot authentication I get a Bad Request: Bad Request error
It works for a colleague with the same Github Copilot license from our company.
I can prompt Gemini from the Copilot CLI
EDIT: Found the issue. Gemini models fail with the Docker Gateway MCP with the Linear plugin enabled
Plugins
Tried both with and without "opencode-openai-codex-auth" installed
OpenCode version
1.1.19
Steps to reproduce
- Authenticate with Github Copilot
- Have Docker MCP gateway with Linear plugin enabled
- Select any Gemini model
- Write any prompt
- Receive
Bad Request: Bad Requesterror
Screenshot and/or share link
Operating System
macOS 26.1
Terminal
Ghostty and macOS Terminal