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

addcomments function is not invoked and not returning error also #45

Open
Rathinavelu-Annamalai opened this issue Nov 17, 2023 · 2 comments

Comments

@Rathinavelu-Annamalai
Copy link

Hi I used this GPT pull request review task in my pipeline, the task is executing and running but not adding comments and says started reviewing and completed reviewing, which means its not coming to block addCommentToPR, and not throwing error if any issues with azure open ai endpoint in logs. If it throwing error in logs like not able to connect to azure open ai, we will be able to troubleshoot further, rather it just says started reviewing and completed reviewing. So its coming to comment part which is most needed for us. Please help

@Robert-LTH
Copy link

I have the same issue as @Rathinavelu-Annamalai, log from pipeline looks like this:
Changed Files (excluding binary files) : azure-pipelines.yml src/Project/src/index.tsx Start deleting existing comments added by the previous Job ... Existing comments deleted. Start reviewing azure-pipelines.yml ... Review of azure-pipelines.yml completed. Start reviewing src/Project/src/index.tsx ... Review of src/Project/src/index.tsx completed.

Here is a part of the response I get from the server when i use my model from within the azure portal:

data: {"choices":[{"delta":{"role":"assistant"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

data: {"choices":[{"delta":{"content":"-"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

data: {"choices":[{"delta":{"content":" In"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

data: {"choices":[{"delta":{"content":" the"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

data: {"choices":[{"delta":{"content":" added"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

data: {"choices":[{"delta":{"content":" line"},"finish_reason":null,"index":0}],"created":1710145498,"id":"chatcmpl-FAKEID","model":"gpt-35-turbo","object":"chat.completion.chunk","system_fingerprint":null}

@krclarke101
Copy link

Hi, did you ever resolve this? I am facing a similar issue as the above

...Start deleting existing comments added by the previous Job ...
...Existing comments deleted.
...Start reviewing

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

3 participants