gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

EXITING TOO EARLY

Open JWB1111 opened this issue 1 year ago • 5 comments

Expected Behavior

Printing out the code + readme in c++

Current Behavior

Gets about 80% done then stops printing out the code and saying the steps to execute the .py code for Linux.

Looks like this:

File 10: mapio.h

#ifndef MAPIO_H
#define MAPIO_H

#include "abstractmap.h"

class
To install dependencies:

sudo apt-get update sudo apt-get install qt5-default


To run the codebase:

qmake -project qmake make ./<executable_name>


Do you want to execute this code?

sudo apt-get update
sudo apt-get install qt5-default

qmake -project
qmake
make
./<executable_name>

JWB1111 avatar Jun 22 '23 15:06 JWB1111

I have a similar problem, but I'm using gpt-3.5-turbo model. It exits to running the code before even completely finishing the code on the first file.

manoocher avatar Jun 23 '23 04:06 manoocher

same problem on gpt-3.5-turbo (windows 11)

scottsuhy avatar Jun 23 '23 18:06 scottsuhy

i have this issue on gpt-3.5-turbo too

irnb avatar Jun 24 '23 09:06 irnb

This is impacting me as well. I tried earlier commits and the latest commits so it has not recently changed. I'm also on gpt-3.5-turbo as well since I don't have GPT4 yet.

wlc108 avatar Jun 24 '23 19:06 wlc108

I ran into the same issue. In ChatGPT answering with "continue" is a valid workaround, I assume this is the same issue. Perhaps asking the API to continue would be a fix (should let you know if there is nothing more to say :)), but I'm not sure if that is possible using the API.

hvolpers avatar Jun 25 '23 11:06 hvolpers

same problem on gpt-3.5-turbo on macOS 13.4.1 (Ventura).

50% of the time, it lists CLI commands for installing packages it needs (even when they are already installed) then it asks if I want to execute this code. If I do it exits gpt-engineer and runs the code. If I say Yes it writes a few more lines and then ends and asks me to answer questions for the devs, then exits.

dougdaulton avatar Jun 30 '23 07:06 dougdaulton

I dont understand fully, will close

AntonOsika avatar Jul 02 '23 17:07 AntonOsika