anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.77k stars 360 forks source link

Bot is not adding comment in the PR #141

Open kspawan opened 3 months ago

kspawan commented 3 months ago

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 ?

anc95 commented 3 months ago

have you set OPEN_API_KEY in the variables?

kavinsharma commented 1 month ago

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

anc95 commented 1 month ago

try to add up the timeout value for aws lambda