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

no target label attached #110

Open luomanman567 opened 1 year ago

luomanman567 commented 1 year ago

chatgpt_code_review_noTargetLabelAttached Bro, how can I fix this issue?

anc95 commented 1 year ago

May you share your yml config, let me see

luomanman567 commented 1 year ago

yml

luomanman567 commented 1 year ago

I found the MODEL should not be gpt-turbo-3.5 in the yml file you provided, it will return error 404 in picture below. gpt-turbo-3-5-0613_not_exist

luomanman567 commented 1 year ago

I also met the issue in the picture below., probably because the chatgpt call limit.(3 times/minutes) OPENAI_error429

luomanman567 commented 1 year ago

My test project only has a main.c file, is this the reason why I got this error?

anc95 commented 1 year ago

@luomanman567 The last error means you have run out of your OpenAI quota, you can check the quota usage on your openai account page

luomanman567 commented 1 year ago

Thanks. And how can I fix "no target label attached", I haven't solved this problem yet.

anc95 commented 1 year ago

I was thinking you already solved this. If you don't set the TARGET_LABEL variable, there should be no error log like this. Do you confirm you are using the yml you shared above. If the repo is public, you can also share me the link and let me check

luomanman567 commented 1 year ago

Here is the link. https://github.com/luomanman567/ctest/pull/12

luomanman567 commented 1 year ago

Help

anc95 commented 1 year ago

Sorry. Just catch your message.

Could you try to set the version to main instead of v1.0.10, and then push new changes to check if works now

luomanman567 commented 1 year ago

chatgpt_code_review_error_429 It seems like I can't call the API? I use the free plan, does it support this robot?

anc95 commented 1 year ago

Support only if you have quota on openai

https://platform.openai.com/account/usage, you can go this page to check details

luomanman567 commented 1 year ago

Thanks too much!