Commit Graph

59 Commits

Author SHA1 Message Date
LeonOstrez
0cec2a45bf fix loading project steps 2023-09-30 21:36:22 +01:00
Nicholas Albion
7bf5de8861 Improved logging 2023-09-29 18:18:55 +10:00
LeonOstrez
6759e9a0f5 Merge pull request #109 from Pythagora-io/feature/open_project
Allow IDE to open the new project
2023-09-29 08:58:56 +01:00
Nicholas Albion
5a3ef5efa1 Added unit test, failed to reproduce #35 2023-09-29 16:21:34 +10:00
LeonOstrez
d300e9980a Merge pull request #111 from Pythagora-io/fix/handle-step_check.prompt
handle step check.prompt
2023-09-28 09:43:10 +01:00
Nicholas Albion
2aaa914c26 Merge branch 'main' into debugging_ipc
# Conflicts:
#	README.md
#	pilot/helpers/agents/CodeMonkey.py
#	pilot/helpers/agents/Developer.py
#	pilot/prompts/system_messages/architect.prompt
#	pilot/utils/arguments.py
#	pilot/utils/llm_connection.py
#	pilot/utils/utils.py
2023-09-28 13:53:49 +10:00
Nicholas Albion
e7d0ac5c58 Fix handling of GET_TEST_TYPE response.
The recent function calling changes has does not include `None` values in the tuples returned from `convo.send_message()`
2023-09-28 13:20:39 +10:00
Nicholas Albion
ef5372decc Allow IDE to open the new project 2023-09-27 18:23:36 +10:00
Nicholas Albion
5f110322ed fixed failing tests 2023-09-27 11:49:51 +10:00
Nicholas Albion
6dd5a032fa Improved JSON prompting for GPT-4 and recover incomplete JSON responses from Code Llama 2023-09-27 10:53:44 +10:00
Nicholas Albion
8a024c2ff2 rejecting responses that are not JSON.
Need to fix prompts for GPT-4
2023-09-26 17:27:54 +10:00
Nicholas Albion
1c290c86a0 linting 2023-09-23 17:22:40 +10:00
Nicholas Albion
b5cebb95dc linting 2023-09-23 17:21:06 +10:00
Nicholas Albion
323b2669c0 updated test 2023-09-23 17:14:54 +10:00
Nicholas Albion
623908d093 fixed tests 2023-09-23 17:08:22 +10:00
Nicholas Albion
f4789538a3 6 models returning JSON as per ARCHITECTURE function_calls schema 2023-09-23 14:52:57 +10:00
Nicholas Albion
4d91f381c1 Tested Developer.install_technology before refactoring without function_calling 2023-09-22 19:11:50 +10:00
Nicholas Albion
4b7aa2df22 get_prompt() moved from llm_connection to utils and works from unit tests 2023-09-20 22:17:37 +10:00
Nicholas Albion
0660244017 fabulous does not work on Windows 2023-09-20 22:14:59 +10:00
LeonOstrez
67209b5b27 merge master into debugging_ipc branch 2023-09-18 19:09:37 -07:00
Zvonimir Sabljic
ab20b7a71c Fixed return values 2023-09-18 18:37:56 -07:00
Zvonimir Sabljic
aa63fa1988 Enable exception to be thrown even during the restoring phase of the project 2023-09-18 18:35:50 -07:00
Zvonimir Sabljic
48af667cc0 Fixed a couple of return statements 2023-09-15 17:58:28 +02:00
Zvonimir Sabljic
bf36106ee7 Fixed getting developer's help upon TooDeepRecursionError 2023-09-15 09:44:09 +02:00
Zvonimir Sabljic
65135344ab Converted colored leftovers 2023-09-15 09:43:30 +02:00
Zvonimir Sabljic
9a7c15e0c5 Merge branch 'ipc' into debugging_ipc 2023-09-14 09:40:36 +02:00
Zvonimir Sabljic
151aa051e2 Improved debugging process and enabled splitting of app development into tasks and then into steps
- split step implementation into different functions
- standardized the return value in the implementation process - { "success": True }
- added propagation of errors back to the recursion level 0 with TooDeepRecursionError and TokenLimitError
- created new class Debugger and moved debugging in it
2023-09-12 21:32:56 +02:00
Zvonimir Sabljic
2f289ab3ae Disabled GPT Pilot to request files mid conversation because we're sending all files in the first prompt anyway - this is TEMPORARY to save some context for now 2023-09-12 21:18:13 +02:00
Zvonimir Sabljic
33c38985bf Added a question at the beginning of a project rerun so user can decide if they want to update files with their latest changes they made 2023-09-12 21:06:06 +02:00
Nicholas Albion
54bee95a8c Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	pilot/helpers/AgentConvo.py
#	pilot/utils/llm_connection.py
2023-09-12 22:57:48 +10:00
LeonOstrez
80914f0722 Merge pull request #81 from nalbion/feature/should_execute_step
Refactored `execute_step()` as per #80
2023-09-12 12:57:52 +02:00
Nicholas Albion
eea510a1e8 unit tests for CodeMonkey 2023-09-11 22:12:50 +10:00
Nicholas Albion
a8008b263e Merge branch 'feature/prompts_and_agents_documentation' 2023-09-11 14:18:10 +10:00
Nicholas Albion
21f18d5318 Merge branch 'feature/should_execute_step'
# Conflicts:
#	pilot/helpers/agents/Developer.py
2023-09-11 14:17:56 +10:00
Nicholas Albion
5b7b621832 Refactored execute_step() as per #80 2023-09-11 14:09:16 +10:00
Nicholas Albion
da1e0feb3b added documentation 2023-09-11 03:05:39 +10:00
Nicholas Albion
aa8f82a7a6 linting 2023-09-09 21:49:04 +10:00
Nicholas Albion
46b84315ec get_step_code_changes() is undefined, commented out for now 2023-09-09 11:16:11 +10:00
Nicholas Albion
5b07ad86e5 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	pilot/utils/arguments.py
2023-09-09 10:56:46 +10:00
Nicholas Albion
ed945b63ea less words, more emojis 2023-09-09 10:45:08 +10:00
Zvonimir Sabljic
6a46851b20 Added catching and retrying when there is an error with Token limit 2023-09-08 18:03:54 +02:00
LeonOstrez
c724429905 Merge pull request #58 from nalbion/feature/use_app_type_in_prompts
use {{ app_type }} from project.args in prompts
2023-09-08 15:18:00 +02:00
Nicholas Albion
ee77f1ffac get_app_by_user_workspace(user_id, workspace) 2023-09-08 15:13:37 +10:00
Nicholas Albion
0ec6da74ab workspace path can be specified in CLI args 2023-09-08 06:29:46 +10:00
Nicholas Albion
bd67695828 use {{ app_type }} from project.args in prompts 2023-09-08 05:25:30 +10:00
Zvonimir Sabljic
9c751d247b Revert "Revert "Added back the functionality for tech lead to break down the project and the developer to code task by task""
This reverts commit f91da2b5eb.
2023-09-07 19:48:16 +02:00
Zvonimir Sabljic
f91da2b5eb Revert "Added back the functionality for tech lead to break down the project and the developer to code task by task"
This reverts commit 990eb0d182.
2023-09-05 23:13:09 +02:00
Zvonimir Sabljic
f8f7006e68 Added description to human intervention log 2023-09-02 17:33:30 +02:00
Zvonimir Sabljic
8e3fecfb33 Fix 2023-09-02 17:33:02 +02:00
Zvonimir Sabljic
990eb0d182 Added back the functionality for tech lead to break down the project and the developer to code task by task 2023-09-02 17:29:20 +02:00