Codium-ai / pr-agent

🚀CodiumAI PR-Agent: An AI-Powered 🤖 Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! 💻🔍
Apache License 2.0
6.08k stars 590 forks source link

Github actions error #111

Closed shashank42 closed 1 year ago

shashank42 commented 1 year ago

openai.error.InvalidRequestError: The model: gpt-4-0613 does not exist

coditamar commented 1 year ago

you need to have access to gpt-4-0613 https://openai.com/blog/function-calling-and-other-api-updates otherwise, you can change it in the pr_agent/settings/configuration.toml

or are you requesting it to be configurable somehow differently?

okotek commented 1 year ago

Can you try again with the current main branch, we are dealing with such errors by falling back to gpt-3.5-turbo

mrT23 commented 1 year ago

i believe this issue was resolved

triptu commented 1 year ago

is it possible to pass this option in anyway while using the Github Action?

triptu commented 1 year ago

also there seems to be a bug. the fallback model was correctly used, but the action still failed.

image