Commit Graph

374 Commits

Author SHA1 Message Date
LeonOstrez
f6e64d49db Merge branch 'main' of https://github.com/Pythagora-io/copilot into main 2023-08-14 23:48:30 +02:00
LeonOstrez
29ceedf700 retry request to openai if there was exception 2023-08-14 23:44:57 +02:00
Zvonimir Sabljic
8c8254b594 Fix 2023-08-14 18:40:00 +02:00
Zvonimir Sabljic
a99e102dc4 Fix 2023-08-14 18:26:17 +02:00
Zvonimir Sabljic
9fa7da4d2e Added asking user questions upon human intervention 2023-08-14 18:25:59 +02:00
Zvonimir Sabljic
3bf67bdf8f Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-14 18:23:04 +02:00
Zvonimir Sabljic
8c4e903ff0 Fixes for parsing GPT response 2023-08-14 18:22:03 +02:00
Zvonimir Sabljic
91f4cad971 Changes in prompts for the bigger change in how developer works 2023-08-14 18:19:48 +02:00
Zvonimir Sabljic
dd331d0338 Fix for handling files 2023-08-14 18:18:08 +02:00
Zvonimir Sabljic
d7f13ec1e5 Connected to previous commit - changing the way developer works 2023-08-14 18:15:58 +02:00
Zvonimir Sabljic
c3d414f185 Changed completely how Developer agent works 2023-08-14 18:15:00 +02:00
Zvonimir Sabljic
5032c893e5 Fixes for saving files and snapshots 2023-08-14 18:11:42 +02:00
Zvonimir Sabljic
5e62754bd1 Separated part of the code into a new function 2023-08-14 18:09:54 +02:00
Zvonimir Sabljic
da2a95887f Don't fetch steps from the database based on the hash but rather based on the previous step 2023-08-14 18:09:30 +02:00
Zvonimir Sabljic
9a74351b2b Updates to function calls 2023-08-14 18:08:50 +02:00
LeonOstrez
257b94274f ask user to repeat request to openai api if there was error 2023-08-14 15:53:02 +02:00
LeonOstrez
5f60367e0c merge 2023-08-14 14:43:08 +02:00
LeonOstrez
cd1ada4303 clear data streamed from openai api 2023-08-14 14:41:15 +02:00
Zvonimir Sabljic
0a573ea9b7 Hardcoded fix 2023-08-14 12:24:04 +02:00
Zvonimir Sabljic
f180267a66 Refactored saving files and file snapshot so they are connected 2023-08-14 12:21:57 +02:00
Zvonimir Sabljic
8352e4ada0 Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-11 14:54:08 +02:00
LeonOstrez
4f3356b2d0 fix funciton call formatting 2023-08-11 13:55:30 +02:00
Zvonimir Sabljic
eea80d1d9c A couple of fixes 2023-08-11 10:53:46 +02:00
Zvonimir Sabljic
795ebfd97e A couple of fixes 2023-08-10 08:44:02 +02:00
Zvonimir Sabljic
265b2143a9 Fix 2023-08-10 08:42:39 +02:00
Zvonimir Sabljic
01b50ab3e3 Refactored saving previous steps and made steps be loaded by looking at the current step as well 2023-08-10 08:41:46 +02:00
Zvonimir Sabljic
6b7e77b46a Set limits to executing commandss 2023-08-10 08:38:56 +02:00
Zvonimir Sabljic
25d766dc1c Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-09 16:54:41 +02:00
LeonOstrez
c2ad0617f0 setup workspace 2023-08-09 15:26:21 +02:00
Zvonimir Sabljic
88b1a5233c FIx 2023-08-09 14:38:13 +02:00
Zvonimir Sabljic
5ff3cda0b3 Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-09 13:58:16 +02:00
LeonOstrez
0465e445ef fix prompts and loading of stored conversation 2023-08-09 13:53:21 +02:00
Zvonimir Sabljic
f5f5f0dbe4 Fix for new lines being inside the JSON string value when returned from GPT 2023-08-09 12:34:18 +02:00
LeonOstrez
cbb59a7301 fix storing of app in project class 2023-08-09 11:42:26 +02:00
Zvonimir Sabljic
300fba7187 Fix so we don't delete the development step that's being loaded 2023-08-09 11:36:08 +02:00
Zvonimir Sabljic
c55f381bdc Refactored saving and loading development steps to be consistent with command runs and user inputs 2023-08-09 11:35:32 +02:00
LeonOstrez
6d225ac5b1 add todo comment 2023-08-09 10:45:16 +02:00
LeonOstrez
3545830a51 merge 2023-08-09 10:42:53 +02:00
LeonOstrez
1d5c01a707 fixes of storing users and apps 2023-08-09 10:38:39 +02:00
Zvonimir Sabljic
c6065087e0 Implemented deleting of subsequent steps after a specific dev step is reached 2023-08-09 09:45:20 +02:00
Zvonimir Sabljic
e9905a0b78 Leftover 2023-08-09 09:30:02 +02:00
Zvonimir Sabljic
a86bb4a1fa Leftover 2023-08-09 09:23:36 +02:00
Zvonimir Sabljic
94a220a08e Ignore some fields while hashing the data for steps 2023-08-09 09:15:37 +02:00
Zvonimir Sabljic
c907f8b9f3 Added should_rerun_command prompt 2023-08-09 09:08:01 +02:00
Zvonimir Sabljic
aba9d45d13 Small updates to prompts and logging 2023-08-09 08:39:40 +02:00
Zvonimir Sabljic
d4a888600e Added connecting dev_step/user_input/command_run with the previous step in the database 2023-08-09 08:38:21 +02:00
Zvonimir Sabljic
2fe6a8d525 Implemented fetching of directory tree with descriptions 2023-08-08 15:46:34 +02:00
Zvonimir Sabljic
4ecf2229d1 Implemented saving of Files with descriptions in the database 2023-08-08 15:11:50 +02:00
Zvonimir Sabljic
9e58b24bc8 Added File model 2023-08-08 14:44:34 +02:00
Zvonimir Sabljic
9de9759aac Updated prompts 2023-08-08 12:55:24 +02:00