mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 04:35:17 +01:00
* Added LangChain integration * Fixed issue created by git checkin process * Added ':' to characters to remove from end of file path * Tested initial migration to LangChain, removed comments and logging used for debugging * Tested initial migration to LangChain, removed comments and logging used for debugging * Converted camelCase to snake_case * Turns out we need the exception handling * Testing Hugging Face Integrations via LangChain * Added LangChain loadable models * Renames "qa" prompt to "clarify", since it's used in the "clarify" step, asking for clarification * Fixed loading model yaml files * Fixed streaming * Added modeldir cli option * Fixed typing * Fixed interaction with token logging * Fix spelling + dependency issues + typing * Fix spelling + tests * Removed unneeded logging which caused test to fail * Cleaned up code * Incorporated feedback - deleted unnecessary functions & logger.info - used LangChain ChatLLM instead of LLM to naturally communicate with gpt-4 - deleted loading model from yaml file, as LC doesn't offer this for ChatModels * Update gpt_engineer/steps.py Co-authored-by: Anton Osika <anton.osika@gmail.com> * Incorporated feedback - Fixed failing test - Removed parsing complexity by using # type: ignore - Replace every ocurence of ai.last_message_content with its content * Fixed test * Update gpt_engineer/steps.py --------- Co-authored-by: H <holden.robbins@gmail.com> Co-authored-by: Anton Osika <anton.osika@gmail.com>
104 lines
2.0 KiB
TOML
104 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
|
|
[project]
|
|
name = "gpt-engineer"
|
|
version = "0.0.7"
|
|
description = "Specify what you want it to build, the AI asks for clarification, and then builds it."
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
dependencies = [
|
|
'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',
|
|
'tabulate == 0.9.0',
|
|
'langchain',
|
|
]
|
|
|
|
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",
|
|
]
|
|
|
|
[project.scripts]
|
|
gpt-engineer = 'gpt_engineer.main:app'
|
|
|
|
[tool.setuptools]
|
|
packages = ["gpt_engineer"]
|
|
|
|
[tool.ruff]
|
|
select = ["F", "E", "W", "I001"]
|
|
line-length = 90
|
|
show-fixes = false
|
|
target-version = "py311"
|
|
task-tags = ["TODO", "FIXME"]
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/AntonOsika/gpt-engineer"
|
|
"Bug Tracker" = "https://github.com/AntonOsika/gpt-engineer/issues"
|
|
|
|
[tool.ruff.isort]
|
|
known-first-party = []
|
|
known-third-party = []
|
|
section-order = [
|
|
"future",
|
|
"standard-library",
|
|
"third-party",
|
|
"first-party",
|
|
"local-folder",
|
|
]
|
|
combine-as-imports = true
|
|
split-on-trailing-comma = false
|
|
lines-between-types = 1
|
|
|
|
[tool.black]
|
|
line-length = 90
|
|
target-version = ["py311"]
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
(
|
|
/(
|
|
\.direnv
|
|
| \.eggs
|
|
| \.git
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| build
|
|
| dist
|
|
| venv
|
|
)/
|
|
)
|
|
'''
|