Code Monkey home page Code Monkey logo

Comments (3)

mrT23 avatar mrT23 commented on June 5, 2024

@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

Codium-ai/codium-code-examples#37 (comment)
image

from pr-agent.

kristofenyi avatar kristofenyi commented on June 5, 2024

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)

from pr-agent.

mrT23 avatar mrT23 commented on June 5, 2024

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

image image

from pr-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.