Nicholas Albion
22bea0f388
clean up
2023-10-04 18:19:53 +11:00
Nicholas Albion
a1304d0d54
restoring other tests
2023-10-04 18:15:55 +11:00
Nicholas Albion
6ae562a945
now try test_Dev again
2023-10-04 18:11:25 +11:00
Nicholas Albion
64c8002a83
simplify
2023-10-04 17:48:22 +11:00
Nicholas Albion
67f88a6924
where is update_file
2023-10-04 17:46:19 +11:00
Nicholas Albion
0c0d719d0f
new_callable=MagicMock
2023-10-04 16:42:21 +11:00
Nicholas Albion
16b26ae85a
uncomment test_implement_code_changes_with_read
2023-10-04 16:19:33 +11:00
Nicholas Albion
908fec154e
tidy up
2023-10-04 16:18:05 +11:00
Nicholas Albion
0536ec9ea9
monkeypatch.setenv('OPENAI_API_KEY', 'secret')
2023-10-04 16:12:00 +11:00
Nicholas Albion
366e88dc4d
more debug
2023-10-04 15:47:47 +11:00
Nicholas Albion
4abed31309
without mock_questionary again
2023-10-04 15:29:53 +11:00
Nicholas Albion
cbac991bd9
avoid getting stuck in a loop if LLM can't conform to schema.
2023-10-04 15:23:36 +11:00
Nicholas Albion
388aa0533e
try without mock_questionary
2023-10-04 14:35:43 +11:00
Nicholas Albion
623eb9deb8
uncomment test_test_code_changes_invalid_json()
2023-10-04 14:14:56 +11:00
Nicholas Albion
d65564415b
uncommented test_code_changes_manual_test_no()
2023-10-04 14:10:00 +11:00
Nicholas Albion
86724f79f7
uncomment test_code_changes_manual_test_continue()
2023-10-04 13:51:51 +11:00
Nicholas Albion
ebb88489ce
debugging CI
2023-10-04 13:38:23 +11:00
Nicholas Albion
3f38950c93
un-comment Dev tests
2023-10-04 13:24:00 +11:00
Nicholas Albion
478b35b143
commented out CodeMonkey and Dev tests
...
- trying to figure out why GitHub was cancelling the run
2023-10-04 13:18:19 +11:00
Nicholas Albion
f446c0f028
fixed some unit tests
2023-10-03 19:04:17 +11:00
Nicholas Albion
70a7a6140a
fixed test
2023-10-02 21:06:31 +11:00
Nicholas Albion
5fdc853768
GPT4 responded with a JSON object != schema.
...
Retry the request, advising what the issue was
2023-10-02 18:59:38 +11:00
LeonOstrez
4713a68040
fix updating of app status
2023-10-01 02:46:45 +01:00
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