Commit Graph

275 Commits

Author SHA1 Message Date
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
Zvonimir Sabljic
4ba3986237 Improved prompts by removing unnecessary new lines 2023-09-02 17:26:41 +02:00
Zvonimir Sabljic
827f18a27d Typo fix 2023-09-02 17:24:46 +02:00
LeonOstrez
2e54fcacbb add requirements to readme 2023-09-01 11:32:02 +02:00
Sander Hilven
34a5397209 Added MAX_TOKENS to the .env as a variable 2023-09-01 10:41:39 +02:00
Sander Hilven
a4d520763f Added model selection to .env and update readme 2023-09-01 10:34:12 +02:00
Sander Hilven
660047a071 Hardcoded model in endpoint URL, now fixed. 2023-09-01 09:56:39 +02:00
Sander Hilven
984379fe71 Adde Azure OpenAI endpoint.
Tested and confirmed working.
2023-09-01 09:53:17 +02:00
Zvonimir Sabljic
4638a209b2 Fix 2023-08-31 14:41:31 +02:00
Zvonimir Sabljic
7e3f912a9e Added db init file and updated README 2023-08-31 14:33:47 +02:00
zvone187
3db30d7904 Merge pull request #25 from patakk/patch-1
Update README.md
2023-08-29 22:15:02 +02:00
patakk
efa1f2c343 Update README.md
typo
2023-08-29 22:02:51 +02:00
LeonOstrez
538f2e03a6 Merge pull request #5 from scoobie-bot/main
Update cli.py
2023-08-28 16:52:33 +02:00
LeonOstrez
f294babec3 cleanup PR 2023-08-28 16:49:20 +02:00