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

task is not adding comments despite access to the build service #52

Open
sweety-abi opened this issue Aug 13, 2024 · 1 comment
Open

Comments

@sweety-abi
Copy link

sweety-abi commented Aug 13, 2024

Hi,
I've implemented the GPT pull request review task in our YAML pipeline. The task executes and run when a PR is created, stating that the review has started and completed, but it doesn't add any comments to the PR.

I've already granted the necessary permissions to the "Project Collection Build Service" and the user that appeared (with both "Contribute" and "Contribute to pull requests" set to "allow"). Despite this, comments are still not being added.

Additionally, the task does not log any errors if there's an issue with the Azure OpenAI endpoint, such as connectivity problems or models incompatibility. If we had some error logs, it would make troubleshooting much easier, but all it shows is that the review has started and completed, without any specific feedback or comments.

Would appreciate any insights you might have on this. Thanks!

@bms-carsten
Copy link

Hey,
we had the same issue when using Azure Open AI. The mentioned format in the README is wrong:
Our current format is: https://<azure-resource>.openai.azure.com/openai/deployments/<deployment-id>/chat/completions?api-version=2024-02-15-preview
First use CURL to make sure your query is correct and then adapt the build again. Hope it help.
Best,
Carsten

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

No branches or pull requests

2 participants