Code Monkey home page Code Monkey logo

Comments (3)

mrT23 avatar mrT23 commented on June 18, 2024

The line:
docker run --rm -it -e CONFIG.GIT_PROVIDER=bitbucket -e OPENAI.KEY=$OPENAI_API_KEY -e BITBUCKET.BEARER_TOKEN=$BITBUCKET_BEARER_TOKEN codiumai/pr-agent:latest --pr_url=<pr_url> review
works. I validated.

Triple and quadruple check for your errors when copying and using this exact line.
(i think you do have errors. what is "model='huggingface/gpt-4'" ?? there is no such thing. GPT4 requires openai account )

image

from pr-agent.

praveenpnj94 avatar praveenpnj94 commented on June 18, 2024

@mrT23 Checked this already. STill, the issue. The same open ai key and bitbucket bearer token is getting used in my personal bitbucket account to generate the review by adding in bitbucket pipeline but when I run this from my terminal, I see this issue.

I am trying different options since in bitbucket of my organisation, there is the error happening. I am not aware that which IP do I need to give to my workspace admin to whitelist. In the meantime, I thought to run it on docker on local.

image

I even tried with run from source by following this https://github.com/Codium-ai/pr-agent/blob/main/INSTALL.md#run-from-source

But getting this issue and no luck

image

from pr-agent.

mrT23 avatar mrT23 commented on June 18, 2024

@praveenpnj94 this will be the last time I comment here.

The problem is yours. pr-agent works well with bitbucket.
i cant debug your computer and your environment.

that last run is clearly wrong, as you were running github. you should have found that yourself. set the correct GIT_PROVIDER.
You need to exercise judgment and reasonable knowledge, before claiming its pr-agent issues

The docker run seems valid. try to see if your key gives you full access to the repo, as the instructions clearly say. my guess - no. Also look for other potential issues

all the best

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.