Commit Graph

49 Commits

Author SHA1 Message Date
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
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
6395f6fba7 Added saving command run responses and restoring them 2023-08-03 20:40:49 +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
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
Zvonimir Sabljic
3345f37bb3 Smaller fixes 2023-08-03 16:21:34 +02:00
Zvonimir Sabljic
5720a915a6 Fixed running commands (it was hanging while getting the stderr) 2023-08-03 16:20:03 +02:00
Zvonimir Sabljic
fec1ce48b6 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
Zvonimir Sabljic
82bfb2bd3e Removed comments and hardcoded lines 2023-08-03 11:25:34 +02:00
Zvonimir Sabljic
186b1312f6 Implemented testing of code changes 2023-08-03 11:20:50 +02:00
Zvonimir Sabljic
7496dceb7d Fixed code monkey code writing 2023-08-03 11:20:11 +02:00
Zvonimir Sabljic
f5bc046e1c Fixed code changes prompt for Code Monkey 2023-08-03 11:19:15 +02:00
Zvonimir Sabljic
270f5f9e2a Added root folder parameter from which commands will be ran 2023-08-03 11:17:06 +02:00
Zvonimir Sabljic
60805a5408 Added ask_for_human_verification and get_test_directory_tree to the Project class + added so that directory tree is created from within the folder 2023-08-03 11:16:17 +02:00
Zvonimir Sabljic
3a74273abb Implemented saving and restoring project snapshots 2023-08-02 16:47:52 +02:00
Zvonimir Sabljic
3f6ea24dae Added root_path + removed unused imports 2023-08-02 16:30:03 +02:00
Zvonimir Sabljic
cdb6f83c61 Added functionality for saving and restoring project files 2023-08-02 16:29:36 +02:00
Zvonimir Sabljic
6cf8de709c Added files helper 2023-08-02 16:04:18 +02:00
Zvonimir Sabljic
2dc2c1e86f committing CodeMonkey class 2023-08-02 14:27:02 +02:00
Zvonimir Sabljic
69abec1b8c committing Developer class 2023-08-02 14:26:20 +02:00
Zvonimir Sabljic
de96fba775 Enable file fetching and updating from the Project class 2023-08-02 14:25:44 +02:00
Zvonimir Sabljic
8e3f6c8753 Get the correct response when returning tuples (REMOVE LATER ON) 2023-08-02 14:24:43 +02:00
Zvonimir Sabljic
6c84d15b44 Finished implementation for saving and loading development steps 2023-08-02 11:52:19 +02:00
Zvonimir Sabljic
70617bf80b Added ignored folders to the function for building a directory tree + added get_files function + changed the way Agents are imported 2023-08-02 10:45:22 +02:00
Zvonimir Sabljic
de9b01bc72 Fixes for the latest merge with db models 2023-08-02 10:43:30 +02:00
Zvonimir Sabljic
885792bd5e Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-02 08:52:57 +02:00
Zvonimir Sabljic
9bb1d897f2 Moved code execution functions to cli helper 2023-08-01 17:53:22 +02:00
Zvonimir Sabljic
51251b1b87 Added branches to the AgentConvo 2023-08-01 17:52:21 +02:00
Zvonimir Sabljic
bb022659b4 Agent convo fixes + remove messages getter + function calls fixes 2023-08-01 17:27:26 +02:00
Zvonimir Sabljic
9aa1ea697b Updated function for setting up the convo in playground 2023-08-01 17:25:32 +02:00
Zvonimir Sabljic
b9165a66e8 Big refactor to use classes 2023-08-01 13:53:28 +02:00
Zvonimir Sabljic
1f55f899b5 2 fixes 2023-08-01 08:47:19 +02:00
Zvonimir Sabljic
4f2edb015f Refactor so we use array_of_objects_to_string + added debugging file and AgentConvo method to copy js code to clipboard so it can be pasted into OpenAI playground for easier debugging 2023-08-01 08:46:29 +02:00
Zvonimir Sabljic
040ab607f4 Refactored setup environment to use AgentConvo class 2023-07-31 12:13:16 +02:00
Zvonimir Sabljic
2d42530a6f Added AgentConvo.py file 2023-07-31 11:59:18 +02:00
Zvonimir Sabljic
aaf12bb658 Fixes for running CLI commands 2023-07-31 11:29:20 +02:00
Zvonimir Sabljic
3730735594 Ask user before running a CLI command 2023-07-31 11:01:09 +02:00
Zvonimir Sabljic
87ac2efcb6 Added showing stderr output is stdout is empty(''), fixed so we can stop a command if it takes too long or hangs, and show the CLI output in real-time as is being logged 2023-07-29 13:00:00 +02:00
Zvonimir Sabljic
e21f38814b Added a function that returns a directory tree 2023-07-27 15:30:32 +02:00
Zvonimir Sabljic
c0f8cc7b6f Implemented a function for executing a cli command and getting the output 2023-07-27 15:05:08 +02:00