Skip to content

Commit a8e8888

Browse files
lpcoxCopilot
andcommitted
fix: route OpenCode via Copilot, not OpenAI
Remove OPENAI_API_KEY from workflow env so the api-proxy's port 10004 falls through to the Copilot route (COPILOT_GITHUB_TOKEN) instead of routing to api.openai.com with an invalid key. The api-proxy resolveOpenCodeRoute priority is: OPENAI_API_KEY > ANTHROPIC_API_KEY > Copilot token With OPENAI_API_KEY removed, it uses the Copilot token to route to api.githubcopilot.com (already in allowed domains). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1e5e817 commit a8e8888

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)