Commit Graph

435 Commits

Author SHA1 Message Date
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
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
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
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
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
c59f068a28 run CI 2023-09-23 17:09:54 +10:00
Nicholas Albion
623908d093 fixed tests 2023-09-23 17:08:22 +10:00
Nicholas Albion
b317f58550 clean up 2023-09-23 16:27:02 +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
18aec507e8 anthropic/claude-2 returns JSON
gpt-3_5 returns technologies such as "Backend: Node.js with Mongo database (Mongoose)"
codellama throws an error due to missing `choices`
2023-09-23 14:34:36 +10:00
Nicholas Albion
156b361263 function_call-style JSON response from gpt-4, gpt-3_5, codellama, palm-2-chat-bison 2023-09-23 00:45:23 +10:00
Nicholas Albion
575c25902e Refactored AgentConvo.postprecess_response() into function_calling.process_json_response() 2023-09-22 22:41:38 +10:00
Nicholas Albion
4d91f381c1 Tested Developer.install_technology before refactoring without function_calling 2023-09-22 19:11:50 +10:00
Nicholas Albion
d4879a04b7 ARCHITECTURE function_calls works on meta-llama/codellama-34b-instruct 2023-09-21 23:05:37 +10:00
Nicholas Albion
714658a0c8 tidy up tests 2023-09-21 00:25:25 +10:00
Nicholas Albion
2b4186a4f8 test_chat_completion_Architect passes 2023-09-20 23:15:37 +10:00
Nicholas Albion
82690b2a17 added test_end_to_end() and llm_connection test 2023-09-20 22:20:05 +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
0234c5f7e1 fixed logging for unit tests 2023-09-20 22:16:18 +10:00
Nicholas Albion
0660244017 fabulous does not work on Windows 2023-09-20 22:14:59 +10:00
Zvonimir Sabljic
aa1bca8775 Changed prompts 2023-09-18 19:19:09 -07:00
Zvonimir Sabljic
ffe4fbeba9 Enabled catching of max token limit errors from OpenAI's response 2023-09-18 19:18:54 -07:00
Zvonimir Sabljic
3e20f52b8a Changed log 2023-09-18 19:18:00 -07:00
Zvonimir Sabljic
5aac5e0385 Import os 2023-09-18 19:17:48 -07:00