Commit Graph

89 Commits

Author SHA1 Message Date
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
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
fb5afd3417 If there is only one function call, force GPT to use it and if there are multiple, use 'auto' 2023-08-03 11:17:48 +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
3904c0bf03 Fixed some of the function calls 2023-08-03 11:10:07 +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
0a19f2f54f Added return_files 2023-08-02 16:02:37 +02:00
Zvonimir Sabljic
3e0789a508 Removed API bakery from Architect's technology stack 2023-08-02 16:00:09 +02:00
Zvonimir Sabljic
7674a04b3f Adding code monkey prompts 2023-08-02 14:56:08 +02:00
Zvonimir Sabljic
b9f7497178 Prompt changes 2023-08-02 14:55:30 +02:00
Zvonimir Sabljic
7648dfd310 Added function calls for different conversations 2023-08-02 14:54:37 +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
96633f2b57 Updated DevelopmentSteps model 2023-08-02 11:39:22 +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
31f481c702 Updated db models to store JSON lists instead of text 2023-08-02 10:42:16 +02:00
Zvonimir Sabljic
84346163a3 Fixed drop_tables function 2023-08-02 10:41:46 +02:00
Zvonimir Sabljic
885792bd5e Merge branch 'main' of github.com:Pythagora-io/copilot 2023-08-02 08:52:57 +02:00
LeonOstrez
9673d40f65 refactor DB 2023-08-02 08:29:40 +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
9b2db0bf13 Fixes for resuming with the app 2023-07-31 13:26:46 +02:00
Zvonimir Sabljic
db9b6d786e Removed execute_chat_prompt function 2023-07-31 12:43:32 +02:00
Zvonimir Sabljic
e35f003bda Refactored project description to use AgentConvo class 2023-07-31 12:43:05 +02:00
Zvonimir Sabljic
1c53bbf029 Refactored user stories and tasks to use AgentConvo class 2023-07-31 12:39:56 +02:00
Zvonimir Sabljic
3de4d10fa7 Removed split_into_bullets + unused imports 2023-07-31 12:29:03 +02:00
Zvonimir Sabljic
345f1658ec Refactored getting the architecture to use AgentConvo class 2023-07-31 12:27:32 +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