Commit Graph

146 Commits

Author SHA1 Message Date
Carl Thomé
38401b2f35 Add --verbose option for logging request/response 2023-06-18 16:21:16 +02:00
Anton Osika
16a3278ee3 Update benchmarks 2023-06-18 16:16:57 +02:00
Anton Osika
ef6a752f5e Update benchmarks 2023-06-18 15:56:10 +02:00
Anton Osika
9617eb675e Fix conflict 2023-06-18 15:47:57 +02:00
Carl Thomé
e1ebe43cbc Create release.yaml 2023-06-18 15:36:56 +02:00
Junlin Liu
d237c175cd fix docstring #150 (#152) 2023-06-18 15:36:45 +02:00
Emil Ahlbäck
66cd09c789 fix tuple error 2023-06-18 15:26:54 +02:00
Emil Ahlbäck
48228ff6a3 fix code outputting placeholders 2023-06-18 15:26:45 +02:00
Carl Thomé
5d0a1fb922 Ignore everything under projects/ except the example 2023-06-18 15:19:39 +02:00
Carl Thomé
5c4a92e250 Ignore pytest, ruff, coverage intermediate files 2023-06-18 15:18:44 +02:00
Anton Osika
2e4baf7fe1 Update benchmarking 2023-06-18 15:16:20 +02:00
Anton Osika
e90ac46fc8 Merge branch 'main' of github.com:AntonOsika/gpt-engineer
* 'main' of github.com:AntonOsika/gpt-engineer:
  Mark test as failed because it requires OpenAI API access currently
  `black`
  Create test_ai.py
  fix to_files
  execute_workspace -> gen_entrypoint; execute_entrypoint
  Ignore my-new-project/
  Added CODE_OF_CONDUCT.md to the .github directory (#147)
  make pre commit pass in the whole codebase (#149)
  Create ci.yaml
  Fix linting
  Add support for directory paths in filenames and improve code splitting - Enforce an explicit markdown code block format - Add a token to split the output to clearly detect when the code blocks start - Save all non-code output to a `README.md` file - Update RegEx to extract and strip text more reliably and clean up the output - Update the identify prompts appropriately
  Enhance philosophy to include supporting documents - Create instructions for running/compiling the project - Create any package manager files
  Generate instructions for all platforms - Update prompt to create instructions for all 3 major OS platforms - Fix small typo
  Add support for directory creation and binary files - Use the `Path` module instead of `os` - Add ability to create any amount of missing directories for a given file - Add ability to save both text and binary files to save images (or other file types) later
  Add cleanup & move `projects` to their own directory - Add optional argument to clean and delete the working directories of the project before running the prompt - Add `.gitignore` entry to ignore all possible projects - Update readme
2023-06-18 15:13:34 +02:00
Carl Thomé
a038117efa Drop Python 3.8 and 3.9
Code assumes Python 3.10 features, so drop 3.8 and 3.9 from testing.
2023-06-18 15:12:36 +02:00
Carl Thomé
d3d1c9e5aa Mark test as failed because it requires OpenAI API access currently 2023-06-18 15:08:25 +02:00
Carl Thomé
502756bb58 black 2023-06-18 15:04:30 +02:00
Carl Thomé
742b56804e Create test_ai.py 2023-06-18 15:03:09 +02:00
Anton Osika
4a212d968d Update benchmarking 2023-06-18 15:02:42 +02:00
Emil Ahlbäck
57a8700825 fix to_files 2023-06-18 14:54:06 +02:00
Carl Thomé
bac7af55ab execute_workspace -> gen_entrypoint; execute_entrypoint
Clarify semantics that `execute` steps doesn't communicate with the API.
2023-06-18 14:52:42 +02:00
Carl Thomé
2134592411 Ignore my-new-project/ 2023-06-18 14:52:42 +02:00
Jeb
695bfb4a92 Added CODE_OF_CONDUCT.md to the .github directory (#147) 2023-06-18 14:52:25 +02:00
Patilla Code
084ce1759b make pre commit pass in the whole codebase (#149) 2023-06-18 14:46:03 +02:00
Carl Thomé
c77b07a846 Create ci.yaml 2023-06-18 14:32:35 +02:00
Anton Osika
dd7e5c3f7b Merge pull request #140 from EnzoMartin/directory-creation
Directory creation & project directory
2023-06-18 14:26:09 +02:00
Anton Osika
c999f7c2c8 Revert "Improved chat parsing with no AI logic (#120)"
This reverts commit 8facedd8d1.
2023-06-18 14:25:49 +02:00
Gonçalo Moita
8facedd8d1 Improved chat parsing with no AI logic (#120) 2023-06-18 14:10:08 +02:00
Carl Thomé
9cc9cf7329 Create pre-commit.yaml 2023-06-18 14:09:31 +02:00
Emil Ahlbäck
6ef9110caa Merge pull request #145 from NoCLin/fix-execute
SECURITY: change execute_entrypoint conditions
2023-06-18 13:57:33 +02:00
Junlin Liu
e58bfff8bb fix execute 2023-06-18 11:44:35 +00:00
Enzo Martin
8b3862d94d Fix linting 2023-06-18 10:34:35 +02:00
Enzo Martin
2f2fef50fe Merge branch 'main' into directory-creation
# Conflicts:
#	.gitignore
#	gpt_engineer/steps.py
#	identity/generate
#	identity/use_qa
2023-06-18 10:18:27 +02:00
Enzo Martin
e7df947b98 Add support for directory paths in filenames and improve code splitting
- Enforce an explicit markdown code block format
- Add a token to split the output to clearly detect when the code blocks start
- Save all non-code output to a `README.md` file
- Update RegEx to extract and strip text more reliably and clean up the output
- Update the identify prompts appropriately
2023-06-18 10:06:36 +02:00
Enzo Martin
e29e7bec2f Enhance philosophy to include supporting documents
- Create instructions for running/compiling the project
- Create any package manager files
2023-06-18 10:06:28 +02:00
Enzo Martin
9c24119f91 Generate instructions for all platforms
- Update prompt to create instructions for all 3 major OS platforms
- Fix small typo
2023-06-18 10:06:17 +02:00
Enzo Martin
50c505c459 Add support for directory creation and binary files
- Use the `Path` module instead of `os`
- Add ability to create any amount of missing directories for a given file
- Add ability to save both text and binary files to save images (or other file types) later
2023-06-18 10:05:59 +02:00
Enzo Martin
b97563726f Add cleanup & move projects to their own directory
- Add optional argument to clean and delete the working directories of the project before running the prompt
- Add `.gitignore` entry to ignore all possible projects
- Update readme
2023-06-18 10:05:45 +02:00
Anton Osika
4b093cb29b Merge pull request #80 from AntonOsika/add-makefile
Makefile
2023-06-18 09:18:01 +02:00
Anton Osika
c6b6ca1448 Fix not generating bash commands 2023-06-18 08:36:34 +02:00
PatillaCode
f6fc442426 Merge branch 'main' into add-makefile 2023-06-18 03:41:31 +02:00
Anton Osika
fa7585f900 Update README.md 2023-06-17 22:50:52 +02:00
Anton Osika
d20f086a9b Update README.md 2023-06-17 22:24:38 +02:00
Anton Osika
ed486aed74 Update README.md 2023-06-17 22:24:08 +02:00
Anton Osika
e0137261b1 Update README.md 2023-06-17 22:23:55 +02:00
Anton Osika
f44bd838f4 Update README.md 2023-06-17 22:22:59 +02:00
Anton Osika
90cd005607 Update README.md 2023-06-17 22:21:10 +02:00
Anton Osika
0d186e22e6 Skip the respec by default, fix that it changed application 2023-06-17 21:55:19 +02:00
Anton Osika
a4019fb82f Black 2023-06-17 21:32:46 +02:00
Anton Osika
8ac2cd81b9 Always generate entrypoint 2023-06-17 21:18:07 +02:00
Philipp Kohler
903a8905cb fixed the DB import in the pytest file (#116) 2023-06-17 20:53:04 +02:00
Anton Osika
4a9ab4647e Execute per default 2023-06-17 20:39:25 +02:00