opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Gemini Bad Request with Github Copilot

Open ngt-sg opened this issue 18 hours ago • 2 comments

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

  1. Authenticate with Github Copilot
  2. Have Docker MCP gateway with Linear plugin enabled
  3. Select any Gemini model
  4. Write any prompt
  5. Receive Bad Request: Bad Request error

Screenshot and/or share link

Image Image

Operating System

macOS 26.1

Terminal

Ghostty and macOS Terminal

ngt-sg avatar Jan 14 '26 09:01 ngt-sg