Commit Graph

213 Commits

Author SHA1 Message Date
Anton Osika
35c35b3ffa Simplify if statements 2023-06-19 00:03:13 +02:00
Anton Osika
e767edf108 Add a print logs script 2023-06-18 23:52:26 +02:00
Anton Osika
a8daabd78a Bump version 2023-06-18 23:31:01 +02:00
Anton Osika
628a012cf0 Simplify readme 2023-06-18 23:30:15 +02:00
Anton Osika
c762c4ec86 Merge pull request #157 from AntonOsika/readme-tweaks
A few doc tweaks
2023-06-18 23:06:16 +02:00
Anton Osika
5bddf9b500 Merge branch 'main' into readme-tweaks 2023-06-18 23:05:39 +02:00
Anton Osika
2fd5e78fd5 Revert "Benchmark is set to work as a standalone shape (#165)"
This reverts commit e0a3296660.
2023-06-18 22:35:05 +02:00
Anton Osika
8180f0346c Fix the errors with parsing 2023-06-18 22:34:31 +02:00
Anton Osika
89d9b6e356 Fix some cli stuff 2023-06-18 22:34:31 +02:00
nwa
e0a3296660 Benchmark is set to work as a standalone shape (#165) 2023-06-18 21:47:50 +02:00
PatillaCode
fe2028ca37 Merge branch 'main' into readme-tweaks 2023-06-18 16:45:53 +02:00
Carl Thomé
b0ea7b0b41 kwargs -> temperature 2023-06-18 16:42:53 +02:00
Emil Ahlbäck
8b9b018307 fix_code fix 2023-06-18 16:36:41 +02:00
PatillaCode
96106bdc16 typo 2023-06-18 16:30:51 +02:00
PatillaCode
e119f758ed Merge branch 'main' into readme-tweaks 2023-06-18 16:28:12 +02:00
Emil Ahlbäck
3f86b2a33d fix_code 2023-06-18 16:26:03 +02:00
PatillaCode
4f86e7f28d a few doc tweaks 2023-06-18 16:23:55 +02:00
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