-
How did you request the AI user to review?
-
Just tested with 16.0.7 and it works fine at my side. Using same model and system prompt. Please upgrade to this version to see if solves the problem.
-
Also make sure to pull 1dev/opencode to get latest image
-
I have updated onedev to version
16.0.8.The workspace image gets pulled automatically on each run. With the latest image however there is a version mismatch:
pencode@c43f07553cf0:/onedev-workspace/work$ tod check-version && ( opencode run "$TASK_PROMPT" ) this tod requires OneDev server version >= 16.1.0 (current: 16.0.8), please upgrade your OneDev serverShould I set it to pull 1dev/opencode:1.0.0 instead? (That tag is 3 months old)
EDIT: I just saw this pages version number increment so I guess I should just wait for the new release...
-
@pim 16.1.0 is available now.
-
Reopen if there is more info
-
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
A while back we had no workspaces in onedev. We had an AI user that reviewed PR's for us. After updating onedev, this user wants/needs to spin up a workspace. I set up an OpenCode workspace (from the template). It now reviews but it also commits on my PR's and then merges them automatically... The user has
code readerandissue reporterroles on the project:I also have a test project. The AI user has NO roles or authorizations for this project but it still managed to commit on a PR and merged it instantly after.
The workspace config:
System prompt for AI (that does get send to workspace):
My question
I want PR reviews, with code comments if possible. I want no commits or PR state changes by AI. Can you explain what I did wrong and how I can set up permissions to achieve this?