Commit Graph

294 Commits

Author SHA1 Message Date
Zvonimir Sabljic
dfbdae7062 Removed setting last_development_step because it's set in save_development_step function 2023-09-18 18:37:10 -07:00
Zvonimir Sabljic
3e5b87f2a9 Don't update db on conflict 2023-09-18 18:36:18 -07:00
Zvonimir Sabljic
aa63fa1988 Enable exception to be thrown even during the restoring phase of the project 2023-09-18 18:35:50 -07:00
Zvonimir Sabljic
48af667cc0 Fixed a couple of return statements 2023-09-15 17:58:28 +02:00
Zvonimir Sabljic
b1e0356432 Create a branch name if no name is provided - we should refactor all other places not to send any specific name 2023-09-15 17:52:58 +02:00
Zvonimir Sabljic
915464386f Fixed deleting subsequent steps 2023-09-15 17:52:21 +02:00
Zvonimir Sabljic
0dd6b6d996 Changed development_steps, command_runs, and user_inputs models - we don't need to hash any data - we can just use it as is 2023-09-15 17:51:24 +02:00
Zvonimir Sabljic
0e739f350f Fix 2023-09-15 09:46:35 +02:00
Zvonimir Sabljic
bf36106ee7 Fixed getting developer's help upon TooDeepRecursionError 2023-09-15 09:44:09 +02:00
Zvonimir Sabljic
65135344ab Converted colored leftovers 2023-09-15 09:43:30 +02:00
Zvonimir Sabljic
9a7c15e0c5 Merge branch 'ipc' into debugging_ipc 2023-09-14 09:40:36 +02:00
Zvonimir Sabljic
e1e483c5f2 Cimmitting missing files 2023-09-13 09:14:59 +02:00
Zvonimir Sabljic
0619b53d18 Necessary flag so 33c38985bf works 2023-09-12 21:35:07 +02:00
Zvonimir Sabljic
151aa051e2 Improved debugging process and enabled splitting of app development into tasks and then into steps
- split step implementation into different functions
- standardized the return value in the implementation process - { "success": True }
- added propagation of errors back to the recursion level 0 with TooDeepRecursionError and TokenLimitError
- created new class Debugger and moved debugging in it
2023-09-12 21:32:56 +02:00
Zvonimir Sabljic
19ac692509 Don't send max_tokens to openai api so we can use as much context as possible 2023-09-12 21:28:01 +02:00
Zvonimir Sabljic
9c06143af0 When sending a CLI error to LLM, select the first MAX_COMMAND_OUTPUT_LENGTH characters for stderr and last MAX_COMMAND_OUTPUT_LENGTH for stdout 2023-09-12 21:23:27 +02:00
Zvonimir Sabljic
2f289ab3ae Disabled GPT Pilot to request files mid conversation because we're sending all files in the first prompt anyway - this is TEMPORARY to save some context for now 2023-09-12 21:18:13 +02:00
Zvonimir Sabljic
53f90fed86 Improved log 2023-09-12 21:17:06 +02:00
Zvonimir Sabljic
05eeda5e34 Fix for setting up file path and name 2023-09-12 21:07:37 +02:00
Zvonimir Sabljic
d802443c59 TEMP FIX to make sure we don't select any files from the database that either are empty ('') or don't have any snapshot saved 2023-09-12 21:07:10 +02:00
Zvonimir Sabljic
33c38985bf Added a question at the beginning of a project rerun so user can decide if they want to update files with their latest changes they made 2023-09-12 21:06:06 +02:00
Zvonimir Sabljic
6e977590c3 Replace file content in all messages each time we load a branch in AgentConvo - REFACTOR eventually so we don't deal with strings but with real data 2023-09-12 21:03:10 +02:00
Zvonimir Sabljic
43d8c5511d Added current high level step to saved command runs, user inputs and dev steps because we skip high level steps in one way and then in the coding step, we skip them with these functions. REFACTOR eventually so that we skip everything with saved steps since the beginning of the project. 2023-09-12 20:57:11 +02:00
Zvonimir Sabljic
6a46851b20 Added catching and retrying when there is an error with Token limit 2023-09-08 18:03:54 +02:00
Zvonimir Sabljic
6b8f8fb2dc Fix 2023-09-08 18:00:27 +02:00
Zvonimir Sabljic
9c751d247b Revert "Revert "Added back the functionality for tech lead to break down the project and the developer to code task by task""
This reverts commit f91da2b5eb.
2023-09-07 19:48:16 +02:00
LeonOstrez
44a05b49b5 collect telemetry and ask user for feedback 2023-09-07 13:01:44 +02:00
LeonOstrez
3e957b9bd8 disable microservices when creating app 2023-09-06 21:00:01 +02:00
LeonOstrez
3217751f9b update readme with option to continue working on app from start of development 2023-09-06 17:52:24 +02:00
LeonOstrez
5879877aac Merge pull request #46 from Pythagora-io/sqlite
handling too many tokens sent to openai api
2023-09-06 16:50:16 +02:00
LeonOstrez
83378033be remove checking for tokens before openai api request and handle too many tokens in response 2023-09-06 16:46:08 +02:00
LeonOstrez
f383e6c16e delete all development steps if project continued from step before 'coding' 2023-09-06 16:43:11 +02:00
LeonOstrez
5bdce6dddf Merge pull request #45 from Pythagora-io/sqlite
add sqlite db
2023-09-06 10:16:14 +02:00
LeonOstrez
65c47fe645 update readme 2023-09-06 10:15:42 +02:00
LeonOstrez
677dd35617 Merge branch 'main' into sqlite 2023-09-06 09:45:00 +02:00
LeonOstrez
d343f2edea add sqlite db 2023-09-06 09:16:35 +02:00
Zvonimir Sabljic
f91da2b5eb Revert "Added back the functionality for tech lead to break down the project and the developer to code task by task"
This reverts commit 990eb0d182.
2023-09-05 23:13:09 +02:00
zvone187
dcb0ad5c0d Merge pull request #44 from Pythagora-io/sander110419-main
Sander110419 main
2023-09-05 22:53:54 +02:00
Zvonimir Sabljic
83ebd7939d Merge branch 'main' into sander110419-main 2023-09-05 22:52:01 +02:00
Zvonimir Sabljic
a9ead6ecbb Fix to enable regular OpenAI access 2023-09-05 22:50:48 +02:00
zvone187
dc0533f67b Merge pull request #39 from coolxeo/patch-1
Add OPENAI_MODEL env var
2023-09-05 22:33:20 +02:00
Dani Acosta
af6a972cba Add OPENAI_MODEL env var
Adds a env variable OPENAI_MODEL to be able to use different models to GPT-4
2023-09-05 00:15:21 +02:00
LeonOstrez
38d56277ff Merge pull request #37 from rajveer43/doc-update
docs update
2023-09-04 22:54:16 +02:00
rajveer43
c4299dac34 push 2023-09-04 20:10:20 +05:30
Zvonimir Sabljic
c4a5bbf1f2 IMPORTANT: Fix for shell built-in commands - this will need to be improved down the line 2023-09-02 17:34:05 +02:00
Zvonimir Sabljic
f8f7006e68 Added description to human intervention log 2023-09-02 17:33:30 +02:00
Zvonimir Sabljic
8e3fecfb33 Fix 2023-09-02 17:33:02 +02:00
Zvonimir Sabljic
9967df02e8 HARDCODED: we don't want to create directories in any other way than by running a mkdir command 2023-09-02 17:32:52 +02:00
Zvonimir Sabljic
990eb0d182 Added back the functionality for tech lead to break down the project and the developer to code task by task 2023-09-02 17:29:20 +02:00
Zvonimir Sabljic
190230a0e5 Changed position of saving files 2023-09-02 17:27:35 +02:00