Skip to content

Commit ad82ddb

Browse files
lpcoxCopilot
andcommitted
fix: configure OpenCode to use OpenAI provider via Copilot API proxy
OpenCode defaults to Google Gemini (gemini-3-pro-preview) which requires GOOGLE_GENERATIVE_AI_API_KEY. The workflow only has COPILOT_GITHUB_TOKEN routed through the api-proxy on port 10004 as OPENAI_API_KEY. Set model to openai/gpt-4.1 in the opencode.jsonc config so OpenCode uses the OpenAI provider, which routes through the Copilot API proxy. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 65adbc8 commit ad82ddb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/smoke-opencode.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)