Closed Nbtguyoriginal closed 10 months ago
Are you providing an OPENAI_API_KEY in the environment variable with the same name? auth_subrequest_error sounds like it.
If this is not the cause of the error, please provide a full stack trace
Im pretty sure that the problem is that you haven't set OPENAI_API_KEY in your environment. Closing
Title:
OpenAI API Errors: Internal Server Error and Bad Gateway
Issue Description:
When attempting to run
gpt-engineer
with specific projects and configurations following the steps closely, I consistently encounter OpenAI API errors, specifically "Internal Server Error" and "Bad Gateway".Environment:
C:\Users\path\OneDrive\Desktop\auto gen\working gen\gpt engineer\gpt-engineer
Steps to Reproduce:
gpt-engineer
using the command:python -m pip install gpt-engineer
. The installation completed without any issues.gpt-engineer projects\gen gpt-3.5-turbo-16k-0613 -i
~~ error receivedgpt-engineer projects\gen -i
~~ error receivedBoth commands resulted in the same errors. if needed i can run the commands in the same terminal to provide both error logs
Expected Behavior:
The
gpt-engineer
tool should run without any errors and complete the intended operations. as per the instructionsActual Behavior:
The tool encounters OpenAI API errors and eventually and errors until a user aborts the operation. The errors observed are:
auth_subrequest_error
and error codeinternal_error
.cf_bad_gateway
and error code502
.Logs:
Additional Notes:
C:\Users\path\OneDrive\Desktop\auto gen\working gen\gpt engineer\gpt-engineer\projects\gen\.gpteng\file_list.txt
.Recommendations:
gpt-engineer( potential bug inside).zip not sure if this is okay but some repos allow for this so here is the full directory for trouble shooting__ ty in advance for any help
I've attempted to disable cloud flare and restart only to receive the same error any help would be appreciated