2884 Commits

Author SHA1 Message Date
Zvonimir Sabljic
a0eab7adaf Leftover 2023-08-09 09:30:02 +02:00
Zvonimir Sabljic
06d7c64c58 Leftover 2023-08-09 09:23:36 +02:00
Zvonimir Sabljic
6bcfbcf6a3 Ignore some fields while hashing the data for steps 2023-08-09 09:15:37 +02:00
Zvonimir Sabljic
6fc2a9543f Added should_rerun_command prompt 2023-08-09 09:08:01 +02:00
Zvonimir Sabljic
df21c793d6 Small updates to prompts and logging 2023-08-09 08:39:40 +02:00
Zvonimir Sabljic
f71851c2d4 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
5ade34ef44 Implemented fetching of directory tree with descriptions 2023-08-08 15:46:34 +02:00
Zvonimir Sabljic
06e8e4af2f Implemented saving of Files with descriptions in the database 2023-08-08 15:11:50 +02:00
Zvonimir Sabljic
4457e554d5 Added File model 2023-08-08 14:44:34 +02:00
Zvonimir Sabljic
ac678be6e8 Updated prompts 2023-08-08 12:55:24 +02:00
Zvonimir Sabljic
b85aa93b9e Changes in the debugging process 2023-08-08 12:54:52 +02:00
Zvonimir Sabljic
64e85d2e3c A couple of changes in Developer Agent 2023-08-08 12:51:43 +02:00
Zvonimir Sabljic
e18698b30e Added to_message function 2023-08-08 12:44:22 +02:00
Zvonimir Sabljic
d5e278df16 Changes in prompts 2023-08-08 12:44:00 +02:00
Zvonimir Sabljic
9f3fc5d431 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
9276317bb6 Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-07 09:03:45 +02:00
Zvonimir Sabljic
0a29d5f08b Refactored questionary and implemented saving and restoring user input 2023-08-05 09:36:08 +02:00
Zvonimir Sabljic
2aad985024 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
48b7f19b92 merge 2023-08-04 16:57:05 +02:00
LeonOstrez
7257083366 merge, add spinner, add project name and minor bug fixes 2023-08-04 16:53:40 +02:00
Zvonimir Sabljic
75224180cf 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
c22580a796 Print fix after streaming GPT response + show CLI response when going into debugging 2023-08-04 13:34:46 +02:00
Zvonimir Sabljic
579fbb909a Fixed CommandRuns and DevelopmentSteps models + prints 2023-08-04 13:33:56 +02:00
Zvonimir Sabljic
4f370d0b35 Don't let it halucinate files 2023-08-04 13:31:55 +02:00
Zvonimir Sabljic
5f56335461 Added command runs model 2023-08-04 10:18:50 +02:00
Zvonimir Sabljic
d8b9e1017f Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-04 10:16:37 +02:00
Zvonimir Sabljic
8d3ee002d2 While initializing a project, restore files from a specific dev step 2023-08-04 10:15:14 +02:00
Zvonimir Sabljic
2240cc34a9 Make timeout at least 2000ms while running commands 2023-08-04 10:13:52 +02:00
Zvonimir Sabljic
7c9c0f725d 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
6e20176a15 Smaller fixes 2023-08-04 10:12:07 +02:00
Zvonimir Sabljic
f82bd50d55 Implemented initial version for debugging 2023-08-04 08:23:21 +02:00
Zvonimir Sabljic
852404aff0 Remove explanation about available values when enum is defined 2023-08-04 08:21:14 +02:00
Zvonimir Sabljic
9fa9ff18a7 Milisecond -> millisecond 2023-08-04 08:20:29 +02:00
Zvonimir Sabljic
18fc792b7f Added human intervention step + renamed verification to intervention 2023-08-03 21:23:30 +02:00
Zvonimir Sabljic
ac0d192d0e Small fixes 2023-08-03 21:20:30 +02:00
Zvonimir Sabljic
e4bebeea02 Enabled streaming of LLM response 2023-08-03 20:45:11 +02:00
Zvonimir Sabljic
fc3d4f5211 Fix: replace functions in the data that's being hashed 2023-08-03 20:44:39 +02:00
Zvonimir Sabljic
04bee30469 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
3d053694e4 Added saving command run responses and restoring them 2023-08-03 20:40:49 +02:00
Zvonimir Sabljic
7241a942cf Simplifying the flow - updated prompts 2023-08-03 18:54:38 +02:00
Zvonimir Sabljic
c9063e4b76 Simplifying the flow - renamed from milisecond to millisecond 2023-08-03 18:53:59 +02:00
Zvonimir Sabljic
086b8df611 Simplifying the flow - changed processing command timeout from seconds to miliseconds 2023-08-03 18:52:40 +02:00
Zvonimir Sabljic
751bb1ba1d Simplifying the flow - implemented the simpler communication between the developer and the code monkey 2023-08-03 18:52:00 +02:00
Zvonimir Sabljic
bc856e0bb7 Simplifying the flow - added logs 2023-08-03 18:47:21 +02:00
Zvonimir Sabljic
02d11f51ee Simplifying the flow - updating function calls 2023-08-03 18:45:58 +02:00
LeonOstrez
57871493f8 merge 2023-08-03 17:27:34 +02:00
LeonOstrez
371d39b6be 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
Zvonimir Sabljic
19888af830 Smaller fixes 2023-08-03 16:21:34 +02:00
Zvonimir Sabljic
40b76d4de0 Fixed running commands (it was hanging while getting the stderr) 2023-08-03 16:20:03 +02:00
Zvonimir Sabljic
37b543d47d Changed so development steps are hashed by the prompt path, prompt data and an llm request number + added functionality for resuming from a specific development step 2023-08-03 16:18:18 +02:00