Commit Graph

154 Commits

Author SHA1 Message Date
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
Zvonimir Sabljic
8a9497310c Changes in the debugging process 2023-08-08 12:54:52 +02:00
Zvonimir Sabljic
2c12d788c9 A couple of changes in Developer Agent 2023-08-08 12:51:43 +02:00
Zvonimir Sabljic
34fe45b9d5 Added to_message function 2023-08-08 12:44:22 +02:00
Zvonimir Sabljic
6e56d81a5e Changes in prompts 2023-08-08 12:44:00 +02:00
Zvonimir Sabljic
17aa94e12d Added functionality to add to_message parameter to a function call to convert objects to strings in a custom way 2023-08-08 12:42:51 +02:00
Zvonimir Sabljic
e6769944a6 Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-07 09:03:45 +02:00
Zvonimir Sabljic
f89ce318e3 Refactored questionary and implemented saving and restoring user input 2023-08-05 09:36:08 +02:00
Zvonimir Sabljic
3bcfa4a70e Kill the process and the subprocesses after running a command + add both stdout and stderr to the return value of running a command 2023-08-05 08:36:12 +02:00
LeonOstrez
e2e67b3f41 merge 2023-08-04 16:57:05 +02:00
LeonOstrez
bcc9cee3c1 merge, add spinner, add project name and minor bug fixes 2023-08-04 16:53:40 +02:00
Zvonimir Sabljic
b82a7b79d4 Added back tokenizer so we can accurately (relatively) know how many tokens are in the messages 2023-08-04 15:48:01 +02:00
Zvonimir Sabljic
b3e2009469 Print fix after streaming GPT response + show CLI response when going into debugging 2023-08-04 13:34:46 +02:00
Zvonimir Sabljic
5ddec70bdc Fixed CommandRuns and DevelopmentSteps models + prints 2023-08-04 13:33:56 +02:00
Zvonimir Sabljic
5b76ea2aa2 Don't let it halucinate files 2023-08-04 13:31:55 +02:00
Zvonimir Sabljic
f70fc83c08 Added command runs model 2023-08-04 10:18:50 +02:00
Zvonimir Sabljic
d2b491757b Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-04 10:16:37 +02:00
Zvonimir Sabljic
69a0d153bf While initializing a project, restore files from a specific dev step 2023-08-04 10:15:14 +02:00
Zvonimir Sabljic
08187cd93f Make timeout at least 2000ms while running commands 2023-08-04 10:13:52 +02:00
Zvonimir Sabljic
68a847a827 When restoring files, first, clear the entire directory of previously created files + while updating a file, create a parent directory if it doesn't exist 2023-08-04 10:13:23 +02:00
Zvonimir Sabljic
400281fb66 Smaller fixes 2023-08-04 10:12:07 +02:00