Commit Graph

457 Commits

Author SHA1 Message Date
LeonOstrez
0cec2a45bf fix loading project steps 2023-09-30 21:36:22 +01:00
LeonOstrez
f5feb6274d fixes 2023-09-29 22:37:35 +01:00
LeonOstrez
4c1fe834a8 fix getting args.root, ask feedback only on success and keyboard interrupt (not on exceptions), fix terminal width and erasing old logs 2023-09-29 13:31:11 +01:00
LeonOstrez
9a2cd09b8b Merge pull request #117 from Pythagora-io/debugging_ipc
Debugging ipc
2023-09-29 10:58:22 +01:00
LeonOstrez
b92447eb7f merge main 2023-09-29 10:56:13 +01:00
Nicholas Albion
396cf2fcea log prompt name at INFO 2023-09-29 18:38:25 +10:00
Nicholas Albion
d2f8d58f5a removed debugging 2023-09-29 18:22:09 +10:00
Nicholas Albion
9e9efd133d Don't log password & api-key 2023-09-29 18:21:07 +10:00
Nicholas Albion
7bf5de8861 Improved logging 2023-09-29 18:18:55 +10:00
Nicholas Albion
d0ff649707 Don't log password & api-key 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
LeonOstrez
0331b29185 Merge pull request #112 from Pythagora-io/fix/save_file
Fixed issues with `Project.save_file()`
2023-09-29 08:58:01 +01:00
LeonOstrez
30dd5e35d3 Merge pull request #113 from Pythagora-io/feat/extension-params
Add arguments for extension
2023-09-29 08:48:25 +01:00
Nicholas Albion
5a3ef5efa1 Added unit test, failed to reproduce #35 2023-09-29 16:21:34 +10:00
Nicholas Albion
32206e79d2 'C:\\path\\to\\file.txt' only seems to work on Windows 2023-09-28 22:14:02 +10:00
Nicholas Albion
b9ca764e1d Merge pull request #110 from Umpire2018/main
Replace psycopg2 with psycopg2-binary and deleted outdated requirements.txt
2023-09-28 21:20:15 +10:00
pavel-pythagora
103b920cb7 Add arguments for extension 2023-09-28 13:29:21 +03:00
Nicholas Albion
ed003fb220 fixed tests 2023-09-28 20:25:38 +10:00
Nicholas Albion
511ffdd8e1 Fixed issue with Project.save_file() 2023-09-28 20:08:40 +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
Umpire2018
99827efd45 Remove outdated requirements.txt
There are two requirements.txt in the project, the one in the root dir should be the up-to-date version. So i deleted the one in pilot folder.
2023-09-27 21:08:25 +08:00
Umpire2018
b75f1faaa6 Replace psycopg2 with psycopg2-binary
To avoid `No matching distribution found for psycopg2`, I use an alternative from [Psycopg2 web page](https://www.psycopg.org/docs/install.html#quick-install).
It is the quickest way to install Psycopg by using the wheel package available on PyPI in most operating systems.
close #101, close #34
2023-09-27 21:01:31 +08:00
LeonOstrez
800f0af1cb Merge pull request #108 from Pythagora-io/fix/warning-on-start
Fix warning on start
2023-09-27 11:41:08 +01:00
pavel-pythagora
90884fcd38 Fix warning on start 2023-09-27 11:43:33 +03:00
Nicholas Albion
ef5372decc Allow IDE to open the new project 2023-09-27 18:23:36 +10:00
LeonOstrez
28ac24ad8a Merge pull request #106 from nalbion/feature/99-remove-function-calling
More reliable JSON responses & colouring
2023-09-27 09:19:10 +01:00
LeonOstrez
dbefda72e6 Merge branch 'debugging_ipc' into feature/99-remove-function-calling 2023-09-27 09:00:15 +01:00
LeonOstrez
230af6fc92 Merge pull request #107 from Pythagora-io/fix/double-prints
Fix double prints
2023-09-27 08:59:02 +01:00
pavel-pythagora
54840ddaa8 Fix double prints 2023-09-27 10:47:13 +03:00
Nicholas Albion
bbc163480c moved "Can I execute the command" into ask_user() call 2023-09-27 16:43:43 +10:00
Nicholas Albion
c84ad714d4 "hint" message type 2023-09-27 16:04:44 +10:00
Nicholas Albion
108271f28a ignore ': OPENROUTER PROCESSING' 2023-09-27 13:10:52 +10:00
Nicholas Albion
c67e9a41df Merge branch 'main' of https://github.com/Pythagora-io/gpt-pilot
# Conflicts:
#	README.md
2023-09-27 12:53:09 +10:00
Nicholas Albion
b0fea79c7b fixed test for CI 2023-09-27 12:45:20 +10:00
Nicholas Albion
7a81b599c7 Removed fabulous and test against Python 3.9 2023-09-27 11:51:48 +10:00
Nicholas Albion
8cfc7500b6 Merge branch 'debugging_ipc' into feature/99-remove-function-calling 2023-09-27 11:50:10 +10:00
Nicholas Albion
5f110322ed fixed failing tests 2023-09-27 11:49:51 +10:00
Nicholas Albion
0ba4c1976c removed debugging aid 2023-09-27 11:44:04 +10:00
Nicholas Albion
af75e8ebdc switched to colorama which works on Windows and in VS Code 2023-09-27 11:37:15 +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
LeonOstrez
459f9380a7 update code to support python <3.10, update requirements, fix readme issues 2023-09-26 17:13:15 +01:00
Nicholas Albion
cf97a1be5e removed TODOs 2023-09-26 19:44:52 +10:00
Nicholas Albion
e5e0f56d2e JSON validation working 2023-09-26 19:38:24 +10:00
LeonOstrez
c9afca290e Merge pull request #102 from nalbion/feature/99-remove-function-calling
Remove function calling
2023-09-26 10:01:50 +01: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
b8965f527d notes and testing 2023-09-25 10:36:37 +10:00
Nicholas Albion
68f8368eaf Require Python >= 3.10 2023-09-23 20:26:49 +10:00
Nicholas Albion
dd10b4ad24 removed local_llm_function_calling 2023-09-23 20:20:58 +10:00