ChatGPT-CodeReview icon indicating copy to clipboard operation
ChatGPT-CodeReview copied to clipboard

Bot is not adding comment in the PR

Open kspawan opened this issue 1 year ago • 3 comments

I tried using the same configuration but it is not adding comments to the PR. I thought of some access issue with GITHUB_TOKEN but I tried using personal access token too, nothing worked out.

Is there anything from your side or am i doing something wrong ?

kspawan avatar Mar 18 '24 13:03 kspawan

have you set OPEN_API_KEY in the variables?

anc95 avatar Mar 19 '24 08:03 anc95

have you set OPEN_API_KEY in the variables?

yes, i have added OPENAI_API_KEY in the env file and deployed on lambda, but when making a pull request, and the chatAPI.sendMessage function is being called in the lambda.index file, then aws lambda is timing out, not providing result.

it is working on local as it is taking the function then from the node modules

kavinsharma avatar May 08 '24 17:05 kavinsharma

try to add up the timeout value for aws lambda

anc95 avatar May 14 '24 05:05 anc95