Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitbucket diff failing with version 0.25 #1383

Open
henrikix opened this issue Dec 6, 2024 · 2 comments
Open

Bitbucket diff failing with version 0.25 #1383

henrikix opened this issue Dec 6, 2024 · 2 comments
Labels

Comments

@henrikix
Copy link

henrikix commented Dec 6, 2024

Have been using CodiumAI improve and review functions for some time now through bitbucket pipelines + openai key but with version 0.25 it stopped working. Namely it fails to get bitbucket file diffs and therefore fails to generate any suggestions/comments.

When reverting back to using 0.24 everything works fine.

Usage example:
docker run -e CONFIG.GIT_PROVIDER=bitbucket -e OPENAI.KEY=$OPENAI_API_KEY -e BITBUCKET.BEARER_TOKEN=$ACCESS_TOKEN codiumai/pr-agent:latest --pr_url=https://bitbucket.org/$BITBUCKET_WORKSPACE/$BITBUCKET_REPO_SLUG/pull-requests/$BITBUCKET_PR_ID improve --pr_code_suggestions.max_number_of_calls=5 --pr_code_suggestions.summarize=false --pr_code_suggestions.extra_instructions="In addition to everything else also pay attention to the code being - 1. Logical, clear and easy to understand 2. Efficient and optimized 3. Conformant to best practices"

Screenshot 2024-12-06 at 09 56 14

@mrT23
Copy link
Collaborator

mrT23 commented Dec 6, 2024

try a smaller PR. does it work ?

In addition, the new version focuses more on 'problems' compared to best practices.

try the old mode to replicate past results
https://github.com/Codium-ai/pr-agent?tab=readme-ov-file#november-18-2024

@mrT23 mrT23 added the answered label Dec 8, 2024
@henrikix
Copy link
Author

try a smaller PR. does it work ?

In addition, the new version focuses more on 'problems' compared to best practices.

try the old mode to replicate past results https://github.com/Codium-ai/pr-agent?tab=readme-ov-file#november-18-2024

Will give it a shot and get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants