gpt-engineer-org / gpt-engineer

Platform to experiment with the AI Software Engineer. Terminal based. NOTE: Very different from https://gptengineer.app
MIT License
52.55k stars 6.83k forks source link

Getting this error when running python -m gpt_engineer.main example #298

Closed McFlyin619 closed 1 year ago

McFlyin619 commented 1 year ago

File "", line 198, in _run_module_as_main

File "", line 88, in _run_code

File "C:\AVA Tech\gpt-engineer\gpt_engineer\main.py", line 66, in app()

File "C:\AVA Tech\gpt-engineer\gpt_engineer\main.py", line 61, in main messages = step(ai, dbs) ^^^^^^^^^^^^^

File "C:\AVA Tech\gpt-engineer\gpt_engineer\steps.py", line 31, in clarify user = dbs.input["main_prompt"]



  File "C:\AVA Tech\gpt-engineer\gpt_engineer\db.py", line 18, in __getitem__
    raise KeyError(key)

KeyError: 'main_prompt'
Lumantis commented 1 year ago

try python -m gpt_engineer.main projects\example

McFlyin619 commented 1 year ago

fixed, thanks so much. Please close

bogdanaks commented 1 year ago

I have same problem..

bogdanaks commented 1 year ago

Oh i fixed it Mind you, in my case the problem was that the forward slash was reversed to the left() instead of the right (/)