diff --git a/gpt_engineer/main.py b/gpt_engineer/main.py index 2ca6551..e26ad62 100644 --- a/gpt_engineer/main.py +++ b/gpt_engineer/main.py @@ -44,10 +44,5 @@ def chat( messages = step(ai, dbs) dbs.logs[step.__name__] = json.dumps(messages) - -def execute(): - app() - - if __name__ == "__main__": - execute() \ No newline at end of file + app() diff --git a/pyproject.toml b/pyproject.toml index 405b5b8..26af12f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ ] [project.scripts] -gpt-engineer = 'gpt_engineer.main:execute' +gpt-engineer = 'gpt_engineer.main:app' [tool.setuptools] packages = ["gpt_engineer"]