Description
My org admin recently enabled the use of Microsoft MAI-Code-1-Flash for my Copilot Enterprise subscription. However, when I try and use it in OpenCode I get:
model "mai-code-1-flash-picker" is not accessible via the /chat/completions endpoint
So, as another test, I tried the same test ("Summarize the README.md") in copilot-cli after selecting MAI-Code-1-Flash and it worked fine.
Is there perhaps something I need in my opencode.jsonc to tell it how to find the right endpoint?
Plugins
tarquinen/opencode-dcp, slkiser/opencode-quota, opencode-gemini-auth, mohak34/opencode-notifierq
OpenCode version
1.17.11
Steps to reproduce
- Have a GitHub Copilot Enterprise subscription
- Have the admin enable Microsoft MAI-Code-1-Flash in copilot settings
- Open opencode and select MAI-Code-1-Flash under the
/model picker for GitHub Copilot
- Type "hello"
Screenshot and/or share link
No response
Operating System
macOS 26.5
Terminal
iterm2
Description
My org admin recently enabled the use of Microsoft MAI-Code-1-Flash for my Copilot Enterprise subscription. However, when I try and use it in OpenCode I get:
So, as another test, I tried the same test ("Summarize the README.md") in
copilot-cliafter selecting MAI-Code-1-Flash and it worked fine.Is there perhaps something I need in my
opencode.jsoncto tell it how to find the right endpoint?Plugins
tarquinen/opencode-dcp, slkiser/opencode-quota, opencode-gemini-auth, mohak34/opencode-notifierq
OpenCode version
1.17.11
Steps to reproduce
/modelpicker for GitHub CopilotScreenshot and/or share link
No response
Operating System
macOS 26.5
Terminal
iterm2