Skip to content

Commit dede3b2

Browse files
lpcoxCopilot
andcommitted
fix: remove /v1 prefix from OpenCode baseURL
The Copilot API at api.githubcopilot.com uses /chat/completions (no /v1 prefix). The @ai-sdk/openai-compatible provider appends /chat/completions to baseURL, so with /v1 it was sending /v1/chat/completions which returned 404. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 15d7a2b commit dede3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.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)