Commit Graph

134 Commits

Author SHA1 Message Date
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é
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
Anton Osika
cfb116b534 Merge pull request #123 from AntonOsika/ao/execute-step
improve execution step
2023-06-17 20:37:27 +02:00
Anton Osika
e8f47c1e70 improve execution step 2023-06-17 20:36:51 +02:00
Anton Osika
a3cb4964e9 Remove automatic execution for now 2023-06-17 19:52:48 +02:00
Anton Osika
31b00de247 Improve prompts 2023-06-17 19:52:22 +02:00
Vicente Reyes
c4c1203fc0 Minor formatting fixes in Readme; fix main python command (#97) 2023-06-17 18:11:15 +02:00
Philipp Kohler
4a914a298a added .idea folder of jetbrains IDEs to gitignore (#111) 2023-06-17 17:53:03 +02:00
PatillaCode
95cac98e2b Merge branch 'main' into add-makefile 2023-06-17 17:43:35 +02:00
PatillaCode
6d43a6a972 pretty 2023-06-17 17:20:16 +02:00
PatillaCode
bdcad97585 tweaking Makefile + gitignore entry 2023-06-17 16:39:22 +02:00
jjzhuo
cde2595ccc Fix an exception for gpt response with lang=sh (#105) 2023-06-17 16:35:43 +02:00
Emil Ahlbäck
98ebaa221f gpt-engineer -> super smart 2023-06-17 15:23:55 +02:00
Emil Ahlbäck
05474e806c make unit tests default 2023-06-17 15:21:13 +02:00