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

It only makes the structure of the code but doesn't fill the functions.

Open chrislovescoding opened this issue 2 years ago • 5 comments

image image image image image

It basically just creates the function names and expects me to fill it with the code that will make it work. Surely it should fill it itself.

chrislovescoding avatar Jun 18 '23 15:06 chrislovescoding

Have you tried running it again while crossing your fingers? Can't really control what an AI decides to spit out except with luck.

different55 avatar Jun 18 '23 17:06 different55

Have you tried running it again while crossing your fingers? Can't really control what an AI decides to spit out except with luck.

This is correct, but I'm sure this can be "easily" solved.

Make a last step that checks if functions contains pass and ask you if you want it to be filled, or something like that.

adriangalilea avatar Jun 18 '23 21:06 adriangalilea

I tried running it 3 times. You should be able to solve it by telling gpt4 to create the actual functions and not leaving them blank.

chrislovescoding avatar Jun 18 '23 21:06 chrislovescoding

I'm sure that works, but what should happen really is that the code is inspected at the end and you can give new instructions, automatically checking if functions are blank would be handy.

I'm not sure how to implement embeddings here but would make sense possibly.

The whole project should be a main leader agent and then sub-agent for sub-tasks, then one that inspects at the end and loops until user is pleased.

adriangalilea avatar Jun 19 '23 14:06 adriangalilea

Have you tried running it again while crossing your fingers? Can't really control what an AI decides to spit out except with luck.

I agree with this. AI does feed you some boilers. Must be clear in what your instructions are for them to do it.

abcdefghijorngarbosaxyz avatar Jun 19 '23 17:06 abcdefghijorngarbosaxyz

Many changes have been applied since you posted this, give the latest version a try.

If you wish to reopen the issue please do following the new issue template.

patillacode avatar Jun 21 '23 13:06 patillacode