Description
Hello
For some reason, the Opencode GitHub Agent with GitHub Copilot provider does not work. I followed the installation instruction explained here.
As you can see is able to find the copilot/gpt-5 model, therefore I dont think is an authentication problem:
https://github.com/dgarridoa/ragtube/actions/runs/18634091148/job/53122832766#step:3:88
Error summary:
error: {
name: "UnknownError",
data: {
message: "AI_APICallError: Bad Request",
},
}
117692 | }
117693 | ])
117694 | ]
117695 | });
117696 | if (result.info.role === "assistant" && result.info.error) {
117697 | throw new Error(`${result.info.error.name}: ${"message" in result.info.error ? result.info.error.message : ""}`);
Locally, It does work.
OpenCode version
0.15.8
Steps to reproduce
- Install opencode github agent
opencode github install
- Set Github Copilot as provider and pick a model
- Push opencode workflow
- Add GitHub App to the target repository
- Create an issue and add the
/oc summarize comment.
Screenshot and/or share link
Operating System
Omarchy 3.1.0
Terminal
Alacritty
Description
Hello
For some reason, the Opencode GitHub Agent with GitHub Copilot provider does not work. I followed the installation instruction explained here.
As you can see is able to find the
copilot/gpt-5model, therefore I dont think is an authentication problem:https://github.com/dgarridoa/ragtube/actions/runs/18634091148/job/53122832766#step:3:88
Error summary:
Locally, It does work.
OpenCode version
0.15.8
Steps to reproduce
opencode github install/oc summarizecomment.Screenshot and/or share link
Operating System
Omarchy 3.1.0
Terminal
Alacritty