You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the below example, but no code was substituted, probably because of the ... in the head block. I have a feeling that the "improve" pre-prompt may be at fault here, since it mentions ... in 4 potentially suggestive places. This was run on commit fb8b6ca
gpt-engineer$ gpt-engineer -i .
Running gpt-engineer in /home/axel/Software/gpt-engineer-dev
How do you want to select the files?
Use File explorer.
Use Command-Line.
Select option and press Enter (default=1): 1
What do you need to improve with the selected files?
Switch from a setuptools build to a poetry build
The following files will be used in the improvement process:
file_list.txt:
/home/axel/Software/gpt-engineer-dev/pyproject.toml
The inserted prompt is the following:
Switch from a setuptools build to a poetry build
You can change these files in your project before proceeding.
Press enter to proceed with modifications.
PLANNING:
To switch from a setuptools build to a poetry build, we need to replace the current pyproject.toml file with a new one that uses poetry. The new pyproject.toml file will have a different structure and will include the poetry tool configuration. We will also need to transfer all the dependencies, scripts, and other configurations from the old pyproject.toml to the new one.
OUTPUT:
pyproject.toml<<<<<<< HEAD
[build-system]
requires = ["setuptools", "wheel"]
...
[tool.setuptools]
packages = ["gpt_engineer", "gpt_engineer.cli", "gpt_engineer.core"]
...=======
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "gpt-engineer"version = "0.1.0"description = "Specify what you want it to build, the AI asks for clarification, and then builds it."authors = ["Your Name <[email protected]>"]
readme = "README.md"homepage = "https://github.com/AntonOsika/gpt-engineer"repository = "https://github.com/AntonOsika/gpt-engineer"documentation = "https://github.com/AntonOsika/gpt-engineer"classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[tool.poetry.dependencies]
python = "^3.8"black = "^23.3.0"click = "^8.0.0"mypy = "^1.3.0"openai = "^0.27.8"pre-commit = "^3.3.3"pytest = "^7.3.1"ruff = "^0.0.272"termcolor = "^2.3.0"typer = "^0.3.2"rudder-sdk-python = "^2.0.2"dataclasses-json = "^0.5.7"tiktoken = "^0.0.4"tabulate = "^0.9.0"python-dotenv = "^0.21.0"langchain = "^0.0.240"agent-protocol = "^1.0.1"
[tool.poetry.dev-dependencies]
pytest = "^7.3.1"autodoc_pydantic = "^1.8.0"myst_parser = "^0.18.1"nbsphinx = "^0.8.9"sphinx = "^4.5.0"sphinx-autobuild = "^2021.3.14"sphinx_book_theme = "^0.3.3"sphinx_rtd_theme = "^1.0.0"sphinx-typlog-theme = "^0.8.0"sphinx-panels = "^0.6.0"toml = "^0.10.2"myst-nb = "^0.17.1"linkchecker = "^10.2.1"sphinx-copybutton = "^0.5.1"markdown-include = "^0.6.0"sphinx_copybutton = "^0.5.2"
[tool.poetry.scripts]
gpt-engineer = 'gpt_engineer.cli.main:app'ge = 'gpt_engineer.cli.main:app'>>>>>>> updated
The text was updated successfully, but these errors were encountered:
I ran the below example, but no code was substituted, probably because of the ... in the head block. I have a feeling that the "improve" pre-prompt may be at fault here, since it mentions ... in 4 potentially suggestive places. This was run on commit fb8b6ca
gpt-engineer$ gpt-engineer -i .
Running gpt-engineer in /home/axel/Software/gpt-engineer-dev
How do you want to select the files?
Select option and press Enter (default=1): 1
What do you need to improve with the selected files?
Switch from a setuptools build to a poetry build
The following files will be used in the improvement process:
file_list.txt:
/home/axel/Software/gpt-engineer-dev/pyproject.toml
The inserted prompt is the following:
Switch from a setuptools build to a poetry build
You can change these files in your project before proceeding.
Press enter to proceed with modifications.
PLANNING:
To switch from a setuptools build to a poetry build, we need to replace the current
pyproject.toml
file with a new one that uses poetry. The newpyproject.toml
file will have a different structure and will include the poetry tool configuration. We will also need to transfer all the dependencies, scripts, and other configurations from the oldpyproject.toml
to the new one.OUTPUT:
The text was updated successfully, but these errors were encountered: