Closed kristofenyi closed 4 months ago
@kristofenyi
1) the latest docker is nightly updated, and is different than the 0.21 docker, which is fixed (docker pull codiumai/pr-agent:0.21-github_action
) . this is a highly common setup.
Choose yourself against which one to work.
2) There is no problem in either of the dockers with the review command, nor with the require_can_be_split_review
parameter
3) I cannot debug your self-hosted pod, but something in your definitions is wrong. Triple and quadruple check it. its related to require_can_be_split_review
parameter. My guess is that it's not under the correct category ( [pr_reviewer]
).
All the best
https://github.com/Codium-ai/codium-code-examples/pull/37#issuecomment-2074080938
Hi @mrT23 , thanks for the reply. The thing is, i was running the pods for 3 weeks and it was working. So it shouldnt be the configs or my enviroment, as it did not change. Maybe could gitlab change or the dependencies its using?
tried
/review --pr_reviewer. require_can_be_split_review=true
/review --pr_reviewer. require_can_be_split_review=false
Yesterday /descibe worked now even that doesnt work with basically same error
{"icon": "❌", "name": "ERROR", "no": 40}, "line": 155, "message": "Error generating PR description https://GITLAB_URL: \"'DynaBox' object has no attribute 'generate_ai_title'\"", "module": "pr_description", "name": "pr_agent.tools.pr_description", "process": {"id": 1, "name": "MainProcess"}, "thread": {"id": 139886202153856, "name": "MainThread"}, "time": {"repr": "2024-04-24 12:47:28.147689+00:00", "timestamp": 1713962848.147689}}}
tried running it as
image: codiumai/pr-agent:gitlab_webhook
image: codiumai/pr-agent:0.21-gitlab_webhook
I can see in the logs that the response came
"text": "Full_response\n", "record": {"elapsed": {"repr": ...
but its just not returining it back to the PRs.
for /review
the bot doesnt even make comment.
for /describe
it puts back the first commetn
[CodiumAppDev]
project_3_bot_41deb71cf02e9180a6b2cd44bda4c01
· [2 minutes ago](URL/merge_requests/2436#note_66340)
Preparing PR description...
but thats that. No edito of the descirption (which it did just yesterday)
the docker works well also on gitlab, I checked.
I cannot debug your personal pod on your personal hosting. If you struggle with self-hosting, I suggest considering PR-Agent Pro. If not, try deleting all your configurations, making sure it works with that, and then adding them one-by-one.
review https://pr-agent-docs.codium.ai/tools/describe/#configuration-options to make sure all your configurations are updated
All the best
Hi,
I run the app from docker using the latest version
0.21
. Noticed today the/review
is broken. Definetely was working few days back.restarted the pods, still same. Other commands work.
Any idea? Change in the API or dependncy?