Commit Graph

  • 7bf5de8861 Improved logging Nicholas Albion 2023-09-29 18:18:48 +10:00
  • d0ff649707 Don't log password & api-key Nicholas Albion 2023-09-29 18:17:43 +10:00
  • 6759e9a0f5 Merge pull request #109 from Pythagora-io/feature/open_project LeonOstrez 2023-09-29 08:58:56 +01:00
  • 0331b29185 Merge pull request #112 from Pythagora-io/fix/save_file LeonOstrez 2023-09-29 08:58:01 +01:00
  • 30dd5e35d3 Merge pull request #113 from Pythagora-io/feat/extension-params LeonOstrez 2023-09-29 08:48:25 +01:00
  • 5a3ef5efa1 Added unit test, failed to reproduce #35 Nicholas Albion 2023-09-29 16:21:34 +10:00
  • 32206e79d2 'C:\\path\\to\\file.txt' only seems to work on Windows Nicholas Albion 2023-09-28 22:14:02 +10:00
  • b9ca764e1d Merge pull request #110 from Umpire2018/main Nicholas Albion 2023-09-28 21:20:15 +10:00
  • 103b920cb7 Add arguments for extension pavel-pythagora 2023-09-28 13:29:21 +03:00
  • ed003fb220 fixed tests Nicholas Albion 2023-09-28 20:25:38 +10:00
  • 511ffdd8e1 Fixed issue with Project.save_file() Nicholas Albion 2023-09-28 20:08:40 +10:00
  • d300e9980a Merge pull request #111 from Pythagora-io/fix/handle-step_check.prompt LeonOstrez 2023-09-28 09:43:10 +01:00
  • 2aaa914c26 Merge branch 'main' into debugging_ipc Nicholas Albion 2023-09-28 13:53:49 +10:00
  • 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() Nicholas Albion 2023-09-28 13:20:39 +10:00
  • 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. Umpire2018 2023-09-27 21:08:25 +08:00
  • 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 Umpire2018 2023-09-27 21:01:31 +08:00
  • 800f0af1cb Merge pull request #108 from Pythagora-io/fix/warning-on-start LeonOstrez 2023-09-27 11:41:08 +01:00
  • 90884fcd38 Fix warning on start pavel-pythagora 2023-09-27 11:43:33 +03:00
  • ef5372decc Allow IDE to open the new project Nicholas Albion 2023-09-27 18:23:36 +10:00
  • 28ac24ad8a Merge pull request #106 from nalbion/feature/99-remove-function-calling LeonOstrez 2023-09-27 09:19:10 +01:00
  • dbefda72e6 Merge branch 'debugging_ipc' into feature/99-remove-function-calling LeonOstrez 2023-09-27 09:00:15 +01:00
  • 230af6fc92 Merge pull request #107 from Pythagora-io/fix/double-prints LeonOstrez 2023-09-27 08:59:02 +01:00
  • 54840ddaa8 Fix double prints pavel-pythagora 2023-09-27 10:47:13 +03:00
  • bbc163480c moved "Can I execute the command" into ask_user() call Nicholas Albion 2023-09-27 16:43:43 +10:00
  • c84ad714d4 "hint" message type Nicholas Albion 2023-09-27 16:04:44 +10:00
  • 108271f28a ignore ': OPENROUTER PROCESSING' Nicholas Albion 2023-09-27 13:10:52 +10:00
  • c67e9a41df Merge branch 'main' of https://github.com/Pythagora-io/gpt-pilot Nicholas Albion 2023-09-27 12:53:09 +10:00
  • b0fea79c7b fixed test for CI Nicholas Albion 2023-09-27 12:45:20 +10:00
  • 7a81b599c7 Removed fabulous and test against Python 3.9 Nicholas Albion 2023-09-27 11:51:48 +10:00
  • 8cfc7500b6 Merge branch 'debugging_ipc' into feature/99-remove-function-calling Nicholas Albion 2023-09-27 11:50:10 +10:00
  • 5f110322ed fixed failing tests Nicholas Albion 2023-09-27 11:49:51 +10:00
  • 0ba4c1976c removed debugging aid Nicholas Albion 2023-09-27 11:44:04 +10:00
  • af75e8ebdc switched to colorama which works on Windows and in VS Code Nicholas Albion 2023-09-27 11:37:15 +10:00
  • 6dd5a032fa Improved JSON prompting for GPT-4 and recover incomplete JSON responses from Code Llama Nicholas Albion 2023-09-27 10:53:44 +10:00
  • 459f9380a7 update code to support python <3.10, update requirements, fix readme issues LeonOstrez 2023-09-26 17:13:15 +01:00
  • cf97a1be5e removed TODOs Nicholas Albion 2023-09-26 19:44:52 +10:00
  • e5e0f56d2e JSON validation working Nicholas Albion 2023-09-26 19:38:24 +10:00
  • c9afca290e Merge pull request #102 from nalbion/feature/99-remove-function-calling LeonOstrez 2023-09-26 10:01:50 +01:00
  • 8a024c2ff2 rejecting responses that are not JSON. Need to fix prompts for GPT-4 Nicholas Albion 2023-09-26 17:27:54 +10:00
  • b8965f527d notes and testing Nicholas Albion 2023-09-25 10:36:37 +10:00
  • 68f8368eaf Require Python >= 3.10 Nicholas Albion 2023-09-23 20:26:49 +10:00
  • dd10b4ad24 removed local_llm_function_calling Nicholas Albion 2023-09-23 20:20:58 +10:00
  • 1c290c86a0 linting Nicholas Albion 2023-09-23 17:22:40 +10:00
  • b5cebb95dc linting Nicholas Albion 2023-09-23 17:21:06 +10:00
  • 323b2669c0 updated test Nicholas Albion 2023-09-23 17:14:54 +10:00
  • c59f068a28 run CI Nicholas Albion 2023-09-23 17:09:54 +10:00
  • 623908d093 fixed tests Nicholas Albion 2023-09-23 17:08:22 +10:00
  • b317f58550 clean up Nicholas Albion 2023-09-23 16:27:02 +10:00
  • f4789538a3 6 models returning JSON as per ARCHITECTURE function_calls schema Nicholas Albion 2023-09-23 14:52:57 +10:00
  • 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 Nicholas Albion 2023-09-23 14:34:36 +10:00
  • 156b361263 function_call-style JSON response from gpt-4, gpt-3_5, codellama, palm-2-chat-bison Nicholas Albion 2023-09-23 00:45:23 +10:00
  • 575c25902e Refactored AgentConvo.postprecess_response() into function_calling.process_json_response() Nicholas Albion 2023-09-22 22:41:38 +10:00
  • 4d91f381c1 Tested Developer.install_technology before refactoring without function_calling Nicholas Albion 2023-09-22 19:11:50 +10:00
  • d4879a04b7 ARCHITECTURE function_calls works on meta-llama/codellama-34b-instruct Nicholas Albion 2023-09-21 23:05:37 +10:00
  • 714658a0c8 tidy up tests Nicholas Albion 2023-09-21 00:25:25 +10:00
  • 2b4186a4f8 test_chat_completion_Architect passes Nicholas Albion 2023-09-20 23:15:37 +10:00
  • 82690b2a17 added test_end_to_end() and llm_connection test Nicholas Albion 2023-09-20 22:20:05 +10:00
  • 4b7aa2df22 get_prompt() moved from llm_connection to utils and works from unit tests Nicholas Albion 2023-09-20 22:17:37 +10:00
  • 0234c5f7e1 fixed logging for unit tests Nicholas Albion 2023-09-20 22:16:18 +10:00
  • 0660244017 fabulous does not work on Windows Nicholas Albion 2023-09-20 22:14:59 +10:00
  • aa1bca8775 Changed prompts Zvonimir Sabljic 2023-09-18 19:19:09 -07:00
  • ffe4fbeba9 Enabled catching of max token limit errors from OpenAI's response Zvonimir Sabljic 2023-09-18 19:18:54 -07:00
  • 3e20f52b8a Changed log Zvonimir Sabljic 2023-09-18 19:18:00 -07:00
  • 5aac5e0385 Import os Zvonimir Sabljic 2023-09-18 19:17:48 -07:00
  • 67209b5b27 merge master into debugging_ipc branch LeonOstrez 2023-09-18 19:09:37 -07:00
  • 6d83952750 Merge branch 'debugging_ipc' of github.com:Pythagora-io/gpt-pilot into debugging_ipc Zvonimir Sabljic 2023-09-18 18:39:43 -07:00
  • ab20b7a71c Fixed return values Zvonimir Sabljic 2023-09-18 18:37:56 -07:00
  • 52e60b1376 Added print Zvonimir Sabljic 2023-09-18 18:37:20 -07:00
  • dfbdae7062 Removed setting last_development_step because it's set in save_development_step function Zvonimir Sabljic 2023-09-18 18:37:10 -07:00
  • 3e5b87f2a9 Don't update db on conflict Zvonimir Sabljic 2023-09-18 18:36:18 -07:00
  • aa63fa1988 Enable exception to be thrown even during the restoring phase of the project Zvonimir Sabljic 2023-09-18 18:35:01 -07:00
  • 2d0b741a93 Merge pull request #97 from gravypower/main zvone187 2023-09-18 16:28:25 -07:00
  • 3da60f5c8a add script for packaging repo LeonOstrez 2023-09-18 07:49:27 -07:00
  • 322a003bd2 fixed doker link Aaron Job 2023-09-15 22:36:47 +00:00
  • 242db9c4b2 fixed docker health check Aaron Job 2023-09-15 22:33:03 +00:00
  • 48af667cc0 Fixed a couple of return statements Zvonimir Sabljic 2023-09-15 17:58:28 +02:00
  • b1e0356432 Create a branch name if no name is provided - we should refactor all other places not to send any specific name Zvonimir Sabljic 2023-09-15 17:52:58 +02:00
  • 915464386f Fixed deleting subsequent steps Zvonimir Sabljic 2023-09-15 17:52:21 +02:00
  • 0dd6b6d996 Changed development_steps, command_runs, and user_inputs models - we don't need to hash any data - we can just use it as is Zvonimir Sabljic 2023-09-15 17:51:24 +02:00
  • 0e739f350f Fix Zvonimir Sabljic 2023-09-15 09:46:35 +02:00
  • bf36106ee7 Fixed getting developer's help upon TooDeepRecursionError Zvonimir Sabljic 2023-09-15 09:44:09 +02:00
  • 65135344ab Converted colored leftovers Zvonimir Sabljic 2023-09-15 09:43:30 +02:00
  • 9a7c15e0c5 Merge branch 'ipc' into debugging_ipc Zvonimir Sabljic 2023-09-14 09:40:36 +02:00
  • e1e483c5f2 Cimmitting missing files Zvonimir Sabljic 2023-09-13 09:14:59 +02:00
  • 1f41e64c26 Better logging of errors Zvonimir Sabljic 2023-09-12 21:39:43 +02:00
  • 0619b53d18 Necessary flag so 33c38985bf works Zvonimir Sabljic 2023-09-12 21:35:07 +02:00
  • 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 Zvonimir Sabljic 2023-09-12 21:32:56 +02:00
  • 19ac692509 Don't send max_tokens to openai api so we can use as much context as possible Zvonimir Sabljic 2023-09-12 21:28:01 +02:00
  • 9c06143af0 When sending a CLI error to LLM, select the first MAX_COMMAND_OUTPUT_LENGTH characters for stderr and last MAX_COMMAND_OUTPUT_LENGTH for stdout Zvonimir Sabljic 2023-09-12 21:23:27 +02:00
  • 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 Zvonimir Sabljic 2023-09-12 21:18:13 +02:00
  • 53f90fed86 Improved log Zvonimir Sabljic 2023-09-12 21:17:06 +02:00
  • 05eeda5e34 Fix for setting up file path and name Zvonimir Sabljic 2023-09-12 21:07:37 +02:00
  • d802443c59 TEMP FIX to make sure we don't select any files from the database that either are empty ('') or don't have any snapshot saved Zvonimir Sabljic 2023-09-12 21:07:10 +02:00
  • 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 Zvonimir Sabljic 2023-09-12 21:05:40 +02:00
  • 6e977590c3 Replace file content in all messages each time we load a branch in AgentConvo - REFACTOR eventually so we don't deal with strings but with real data Zvonimir Sabljic 2023-09-12 21:03:10 +02:00
  • 43d8c5511d Added current high level step to saved command runs, user inputs and dev steps because we skip high level steps in one way and then in the coding step, we skip them with these functions. REFACTOR eventually so that we skip everything with saved steps since the beginning of the project. Zvonimir Sabljic 2023-09-12 20:57:11 +02:00
  • 54bee95a8c Merge remote-tracking branch 'origin/main' Nicholas Albion 2023-09-12 22:57:48 +10:00
  • 80914f0722 Merge pull request #81 from nalbion/feature/should_execute_step LeonOstrez 2023-09-12 12:57:52 +02:00
  • b023205a53 Merge pull request #85 from alter123/patch-1 LeonOstrez 2023-09-12 08:40:07 +02:00
  • 9ffcdf79bb Merge pull request #82 from nalbion/feature/test_CodeMonkey LeonOstrez 2023-09-12 08:09:12 +02:00