chore(ci): add OpenCode PR review workflow#714
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new configuration file opencode.json to define the Siemens provider and its qwen-3.6-27b model. The review feedback correctly points out that the output token limit is set excessively high at 262144 and suggests reducing it to 4096 to avoid potential API errors.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| "qwen-3.6-27b": { | ||
| "limit": { | ||
| "context": 262144, | ||
| "output": 262144 |
There was a problem hiding this comment.
The output token limit is set to 262144, which matches the context limit. LLMs (including Qwen models) typically have a much smaller maximum output token limit, usually 4096 or 8192. Setting this value excessively high can lead to API errors or client-side issues when requesting generation.
| "output": 262144 | |
| "output": 4096 |
4c264a8 to
f0117eb
Compare
|
Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" to set your account's default identity. fatal: empty ident name (for runner@runnervm1li68.z3jxgq5ehwnebfxq4u2nylwtgb.dx.internal.cloudapp.net) not allowed |
There was a problem hiding this comment.
Pull request overview
Adds an OpenCode-based automated PR review workflow wired to Siemens’ Qwen model, enabling CI to post review feedback on pull requests.
Changes:
- Introduces
opencode.jsonconfiguring a Siemens OpenAI-compatible provider and theqwen-3.6-27bmodel. - Adds a GitHub Actions workflow to run OpenCode on
pull_requestevents and post results to the PR.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
opencode.json |
Defines the OpenCode provider/model configuration (Siemens LLM endpoint + Qwen model). |
.github/workflows/opencode-review.yml |
New PR-triggered workflow that checks out the repo and runs OpenCode to create PR review feedback. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| review: | ||
| runs-on: ubuntu-latest |
| permissions: | ||
| id-token: write | ||
| contents: read | ||
| pull-requests: write |
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: anomalyco/opencode/github@latest |
f0117eb to
370903c
Compare
|
Here's my review of the PR:
|
370903c to
3c619ad
Compare
|
The PR has already incorporated fixes from prior reviews (pinned action SHAs, removed
|
3c619ad to
c3c7360
Compare
|
APIError: The model |


What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Added codereviews based on opencode + Siemens qwen instance.
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: