Commit Graph

893 Commits

Author SHA1 Message Date
Senko Rasic
87190391d9 merge gpt-pilot 0.2 codebase
This is a complete rewrite of the GPT Pilot core, from the ground
up, making the agentic architecture front and center, and also
fixing some long-standing problems with the database architecture
that weren't feasible to solve without breaking compatibility.

As the database structure and config file syntax have changed,
we have automatic imports for projects and current configs,
see the README.md file for details.

This also relicenses the project to FSL-1.1-MIT license.
2024-05-22 21:42:25 +02:00
Senko Rasic
a95dfed27e remove gpt-pilot 0.1 code 2024-05-22 21:39:26 +02:00
LeonOstrez
de16fc77d8 fix bug where self.is_complex_app doesn't exist 2024-05-13 14:04:05 +01:00
LeonOstrez
d9ac194730 update alternative solutions when user is stuck in a loop 2024-05-09 09:00:50 +01:00
LeonOstrez
807fbd1db4 clear review_convo after task review 2024-05-06 17:14:40 +01:00
LeonOstrez
79a6c503fe use INPUT_REQUIRED only in configuration files 2024-05-06 07:42:01 +01:00
LeonOstrez
acf7c6115a fix getting relevant files from db 2024-05-04 20:13:15 +01:00
LeonOstrez
e260951e51 fix loading of relevant_files 2024-05-03 16:52:30 +01:00
LeonOstrez
c8f3a62bb8 update prompt for filtering files 2024-05-02 15:09:23 +01:00
LeonOstrez
ca114e00a7 stop creating new tasks when updating plan 2024-04-30 08:45:57 +01:00
LeonOstrez
8367d517e3 removing unused code and reverting tests to python 3.9 2024-04-25 11:30:50 +01:00
LeonOstrez
eac4fb6523 Merge pull request #887 from Pythagora-io/project-size
project complexity check
2024-04-22 23:01:54 +01:00
LeonOstrez
0a0c762adc fix test 2024-04-22 22:23:32 +01:00
LeonOstrez
2bcf42aed7 add telemetry tracking if it is complex app 2024-04-22 22:15:45 +01:00
LeonOstrez
64159a3159 Check project complexity and for simple projects force plan to have only 1 task to stop overengineering 2024-04-22 14:24:17 +01:00
LeonOstrez
3c9cebdbfd send new task description to extension after user edits task 2024-04-19 13:33:55 +01:00
LeonOstrez
9beb570c0a send to extension project description and list of features 2024-04-16 13:29:37 +01:00
LeonOstrez
ca19a76e8d Merge pull request #853 from MaxAnfilofyev/patch-7
Update full_stack_developer.prompt
2024-04-08 10:43:01 -07:00
LeonOstrez
e99ee4b0b1 Update full_stack_developer.prompt 2024-04-08 10:42:13 -07:00
LeonOstrez
897d006557 Merge pull request #852 from MaxAnfilofyev/patch-6
Update code_updater.prompt
2024-04-08 10:38:07 -07:00
LeonOstrez
fad63d3c0c Merge pull request #851 from MaxAnfilofyev/patch-5
Update code_monkey.prompt
2024-04-08 10:37:28 -07:00
LeonOstrez
031671f483 Merge pull request #850 from MaxAnfilofyev/patch-4
Update architect.prompt
2024-04-08 10:36:44 -07:00
LeonOstrez
02c9ab4ce6 Merge pull request #848 from MaxAnfilofyev/patch-2
Update user_tasks.prompt
2024-04-08 10:34:32 -07:00
LeonOstrez
c536985a32 Merge pull request #849 from MaxAnfilofyev/patch-3
Update specs.prompt
2024-04-08 10:34:04 -07:00
LeonOstrez
5c1463d49f Merge branch 'development' into dynamic-tasks 2024-04-08 10:00:49 -07:00
Senko Rasic
5e8c4b8b2f mock summaries generator in tests that don't care about it 2024-04-07 19:30:40 -07:00
Senko Rasic
87d7596f2d only include existing files in summaries 2024-04-07 19:11:21 -07:00
Senko Rasic
cf881aae7f address pr feedback 2024-04-07 18:31:15 -07:00
Max Anfilofyev
fc24de416b Update full_stack_developer.prompt
added world class per best practices. 
reworded for conciseness and clarity
2024-04-06 19:34:16 -04:00
Max Anfilofyev
81cf82b790 Update code_updater.prompt
added world-class per best practice on instructing agents
2024-04-06 19:28:24 -04:00
Max Anfilofyev
dfad6ecd8b Update code_monkey.prompt
added world-class per best practices about instructing agents
2024-04-06 19:26:55 -04:00
Max Anfilofyev
6725b1d1db Update architect.prompt
edited for clarity
2024-04-06 19:23:18 -04:00
Max Anfilofyev
79ab33b810 Update specs.prompt
Updated for clarity
2024-04-06 19:18:11 -04:00
Max Anfilofyev
9b6ee451ca Update user_tasks.prompt
cleaned up for conciseness and clarity
2024-04-06 19:12:56 -04:00
Senko Rasic
7eecdda87a filter task-relevant files based on file summaries 2024-04-06 14:12:44 -07:00
LeonOstrez
9ceca0186b Merge branch 'development' into dynamic-tasks 2024-04-06 10:29:36 -07:00
Senko Rasic
a73a793382 Remove retry_on_exception because it assumes it's only used on stream_gpt_completion 2024-04-01 12:42:32 -07:00
LeonOstrez
1f9c590afb PR feedback 2024-03-31 00:19:52 -07:00
LeonOstrez
d29866974c refactor dynamic tasks to reword current task and generate list with only future tasks 2024-03-30 20:30:37 -07:00
LeonOstrez
2fdd5a91e7 Merge pull request #819 from Pythagora-io/crash-fixes
Two crash fixes:
2024-03-29 18:52:02 -07:00
Senko Rasic
88b8a5e6a8 remove unused line 2024-03-29 18:47:00 -07:00
Senko Rasic
c5b2530112 Two crash fixes:
* emojis crashing on windows
* code_change step causing problems in debugging
2024-03-29 18:44:12 -07:00
LeonOstrez
d38174152b Merge pull request #818 from Pythagora-io/review
for getting files for task reviewer on windows
2024-03-29 15:34:18 -07:00
LeonOstrez
cc596d097b update prompt if there are no files at start of the task 2024-03-29 15:33:20 -07:00
LeonOstrez
0aa14ede5f for getting files for task reviewer on windows 2024-03-29 15:05:48 -07:00
Senko Rašić
44a17d6112 Merge pull request #814 from ArtikUA/retry-for-anthropic
Improve error handling with Anthropic API
2024-03-29 14:41:41 -07:00
igeni
82f9d17439 replaced sum's of strings to fstring (#780) 2024-03-29 11:08:30 -07:00
LeonOstrez
2dee18ed29 PR feedback 2024-03-29 10:08:33 -07:00
LeonOstrez
eaaf57147d give reviewer all previous user feedbacks and not only the last one 2024-03-29 09:58:55 -07:00
Artem
8c3f7ea42b - Add @retry_on_exception for Anthropic
- Add `rate_limit_error` for the reasons to retry after the pause because of the rate limit exceed to Anthropic
- Add `overloaded_error` for the reasons to retry after the pause because there's something wrong with Anthropic at the moment
2024-03-29 17:54:39 +01:00