Commit Graph

163 Commits

Author SHA1 Message Date
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
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
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