You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In helpers.py, the function need_to_make_request_to_openai_api() was added.
The purpose of the function is to determine if there is a need to make an API request to OpenAI. Done to save $$ and time. (Time is money!)
If there is no need, the user request will be passed to GitHub API as it is.
The function openai_api_request() from api_requests.py calls need_to_make_request_to_openai_api().