You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did remove models.json in fact I removed entire cache folder contents, and I used opencode models --refresh but still no luck. I am using 1.16.2
My problem is, I have github copilot subscription and I can't connect to Gemini Models. Anthropic and OpenAI models are successfully connected.
Yes, I have access to Gemini models, they are working even in VS Code,
I was wondering something else would be the issue. How can I debug further?
I installed opencode-copilot-enhanced plugin and error messages become a little detailed: #8417 (comment)
Activity
rekram1-node commentedon Nov 18, 2025
/oc add gemini 3 pro to the github copilot provider use this data to figure out how to define it, reference other copilot model definitions too:
{
"capabilities": {
"family": "gemini-3-pro",
"limits": {
"max_context_window_tokens": 128000,
"max_output_tokens": 64000,
"max_prompt_tokens": 128000,
"vision": {
"max_prompt_image_size": 3145728,
"max_prompt_images": 1,
"supported_media_types": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic",
"image/heif"
]
}
},
"object": "model_capabilities",
"supports": {
"max_thinking_budget": 32000,
"min_thinking_budget": 258,
"parallel_tool_calls": true,
"streaming": true,
"tool_calls": true,
"vision": true
},
"tokenizer": "o200k_base",
"type": "chat"
},
"id": "gemini-3-pro-preview",
"model_picker_category": "powerful",
"model_picker_enabled": true,
"name": "Gemini 3 Pro (Preview)",
"object": "model",
"policy": {
"state": "unconfigured",
"terms": "Enable access to the latest Gemini 3 Pro model from Google. Learn more about how GitHub Copilot serves Gemini 3 Pro."
},
"preview": true,
"vendor": "Google",
"version": "gemini-3-pro-preview"
},
opencode-agent commentedon Nov 18, 2025
Working...
rekram1-node commentedon Nov 18, 2025
oh wrong repo sorry bot
moddi3 commentedon Nov 18, 2025
can't wait to try🌚
rekram1-node commentedon Nov 18, 2025
added
u may need to force a refresh of the cache:
rm ~/.cache/opencode/models.json
Kjaer commentedon Jun 9, 2026
I did remove
models.jsonin fact I removed entire cache folder contents, and I usedopencode models --refreshbut still no luck. I am using 1.16.2My problem is, I have github copilot subscription and I can't connect to Gemini Models. Anthropic and OpenAI models are successfully connected.
rekram1-node commentedon Jun 9, 2026
@Kjaer the github copilot models u see are directly sourced from what copilot api says u can access
Kjaer commentedon Jun 10, 2026
Yes, I have access to Gemini models, they are working even in VS Code,

I was wondering something else would be the issue. How can I debug further?
I installed opencode-copilot-enhanced plugin and error messages become a little detailed:
#8417 (comment)