Commit Graph

137 Commits

Author SHA1 Message Date
LeonOstrez
cbb59a7301 fix storing of app in project class 2023-08-09 11:42:26 +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
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
Zvonimir Sabljic
72e4a1cf64 Implemented initial version for debugging 2023-08-04 08:23:21 +02:00
Zvonimir Sabljic
1ed59ed820 Remove explanation about available values when enum is defined 2023-08-04 08:21:14 +02:00
Zvonimir Sabljic
c348d6994b Milisecond -> millisecond 2023-08-04 08:20:29 +02:00
Zvonimir Sabljic
ef03879f86 Added human intervention step + renamed verification to intervention 2023-08-03 21:23:30 +02:00
Zvonimir Sabljic
c940bb9594 Small fixes 2023-08-03 21:20:30 +02:00
Zvonimir Sabljic
1c52b64a8d Enabled streaming of LLM response 2023-08-03 20:45:11 +02:00
Zvonimir Sabljic
ce56224270 Fix: replace functions in the data that's being hashed 2023-08-03 20:44:39 +02:00
Zvonimir Sabljic
5b493accf9 escape special characters in the GPT response - currently hardcoded to json.loads() but we might need it in the future 2023-08-03 20:44:06 +02:00
Zvonimir Sabljic
6395f6fba7 Added saving command run responses and restoring them 2023-08-03 20:40:49 +02:00
Zvonimir Sabljic
f451f5053f Simplifying the flow - updated prompts 2023-08-03 18:54:38 +02:00
Zvonimir Sabljic
38ccbd8581 Simplifying the flow - renamed from milisecond to millisecond 2023-08-03 18:53:59 +02:00
Zvonimir Sabljic
548913a066 Simplifying the flow - changed processing command timeout from seconds to miliseconds 2023-08-03 18:52:40 +02:00
Zvonimir Sabljic
187a19b44d Simplifying the flow - implemented the simpler communication between the developer and the code monkey 2023-08-03 18:52:00 +02:00
Zvonimir Sabljic
3bfae8a97e Simplifying the flow - added logs 2023-08-03 18:47:21 +02:00
Zvonimir Sabljic
5c27d407b8 Simplifying the flow - updating function calls 2023-08-03 18:45:58 +02:00
LeonOstrez
749f9bf663 merge 2023-08-03 17:27:34 +02:00
LeonOstrez
208fba56a9 fix saving user and app, update user stories and user tasks to be generated one by one 2023-08-03 17:24:59 +02:00