Commit graph

49 commits

Author SHA1 Message Date
Ori Kotek
8843f7bc8b
Add analytics logging 2024-02-26 16:15:23 +02:00
mrT23
e9382b18b6
Added PRHelpMessage to command execution in pr_agent.py 2024-02-18 12:01:16 +02:00
Hussam.lawen
fff52e9e26
Add ask line feature 2024-02-15 14:25:22 +02:00
Ori Kotek
433b8d24b8
Add logging context to command execution in pr_agent.py 2024-02-15 12:13:56 +02:00
mrT23
2f327c26e8
auto approve 2024-02-13 11:21:59 +02:00
mrT23
b190b1879e
auto approval 2024-02-06 09:09:07 +02:00
mrT23
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools 2023-12-17 16:52:03 +02:00
mrT23
02871b1e3d
Remove logging from pr_agent.py and add line breaks in cli.py and github_action_runner.py 2023-12-14 09:08:47 +02:00
mrT23
246be6147f
Set LiteLLMAIHandler as default AI handler in all PR tools and simplify AI handler injection in PRAgent 2023-12-14 09:00:14 +02:00
mrT23
3531016a2c
Refactor AI handler instantiation in PRAgent and related classes 2023-12-14 08:53:22 +02:00
Brian Pham
557b39ec87 Merge branch 'base-ai-handler' into abstract-BaseAiHandler 2023-12-14 07:44:13 +08:00
Brian Pham
69a7c77a0d Refactor PRAgent class and has_ai_handler_param
method

This commit refactors the PRAgent class and the has_ai_handler_param
method. The has_ai_handler_param method is moved outside the class and
made a standalone function. This change improves code organization and
readability. The has_ai_handler_param function now takes a class object
as a parameter and checks if the class constructor has an "ai_handler"
parameter. This refactoring is done to streamline the code and improve
its maintainability.

No issue references.
2023-12-14 07:15:56 +08:00
Brian Pham
ebb2ed891b Add logging to pr_agent.py 2023-12-13 08:16:45 +08:00
Brian Pham
8fb4a42ef1 Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
Ori Kotek
9e5e9afe92
Refactor CLI argument handling and request processing 2023-11-12 16:11:34 +02:00
Hussam.lawen
f3bdbfc103
Add /generate_labels function + fix issues 2023-10-26 23:28:33 +03:00
Ori Kotek
c324d88be3
Refactor logging system to use custom logger across the codebase 2023-10-16 14:56:00 +03:00
Ori Kotek
e7258e732b
Refactor repo-specific settings application into a utility function, fix merge bug 2023-10-14 01:39:05 +03:00
Hussam.lawen
b2369c66d8
Merge commit '8d075b76ae081d0d38813f789478e4fa0f404cd8' into hl/add_docs
# Conflicts:
#	README.md
2023-10-01 13:55:50 +03:00
mrT23
813fa8571e
tools guide 2023-09-29 11:44:03 +03:00
Hussam.lawen
c3cbaaf09e
Initial add docs 2023-09-27 16:48:17 +03:00
mrT23
8af8fd8e5d
github action 2023-09-06 17:43:43 +03:00
mrT23
c0b23e1091
Merge remote-tracking branch 'origin/main' into tr/issue_tool
# Conflicts:
#	pr_agent/algo/utils.py
2023-09-05 08:05:33 +03:00
mrT23
6693aa3cbc
semi stable 2023-08-20 15:01:06 +03:00
Ori Kotek
2d5b0fa37f
Fix repo settings bug in Gitlab 2023-08-20 14:39:05 +03:00
Tim Perkins
631fb93b28 Implement Automatic Review Configuration for GitHub app 2023-08-16 16:24:30 -04:00
Ori Kotek
ebbe655c40
Don't commment on Github, only eyes reaction 2023-08-07 18:09:39 +03:00
zmeir
dd14423b07 Add /config command to list the possible configuration settings 2023-08-02 16:42:54 +03:00
Ori Kotek
ab607d74be
Support repo-specific configuration file 2023-08-01 18:36:20 +03:00
Ori Kotek
e12874b696
Support repo-specific configuration file 2023-08-01 17:44:08 +03:00
Ori Kotek
8ae936e504
Bug fixes 2023-08-01 15:58:23 +03:00
Ori Kotek
d7b77764c3
Support context aware settings (for each incoming request), support override of settings, refactor CLI to use pr_agent.py 2023-08-01 14:43:26 +03:00
mrT23
3daf94954a
update_settings_from_args 2023-07-30 11:43:44 +03:00
zmeir
4aa54b9bd4 Add /describe -c option 2023-07-27 17:42:50 +03:00
mrT23
c827cbc0ae
final touches 2023-07-27 08:47:26 +03:00
mrT23
14eceb6e61
PRUpdateChangelog 2023-07-26 20:05:18 +03:00
Ori Kotek
ee2c00abeb
split(" ") -> split() 2023-07-19 17:14:55 +03:00
Hussam.lawen
3326327572
More refactoring.... 2023-07-19 17:01:56 +03:00
Hussam.lawen
8038b6ab99
refactor and clean 2023-07-19 14:22:34 +03:00
Hussam.lawen
dc4bf13d39
Add Incremental Review 2023-07-18 23:14:47 +03:00
Ori Kotek
90f97b0226
Lint fixes 2023-07-18 11:34:57 +03:00
Ori Kotek
fdeae9c209
Update pr_agent/agent/pr_agent.py 2023-07-18 10:20:52 +03:00
mrT23
51e08c3c2b
reflect and review + protections 2023-07-18 08:22:25 +03:00
mrT23
f8f415eb75
stable 2023-07-17 15:49:29 +03:00
Ori Kotek
93311a9d9b
Update GitHub app 2023-07-16 15:42:50 +03:00
Ori Kotek
b2d952cafa
1. Move deployment_type to configuration.toml
2. Lint
3. Inject GitHub app installation ID into GitHub provider using the settings mechanism.
2023-07-11 16:55:09 +03:00
salberts
75167c2700 add polling 2023-07-08 08:52:11 +03:00
Ori Kotek
b6333e7f20
Improve handling of tagging and Github app user interaction 2023-07-06 12:58:05 +03:00
Ori Kotek
4b4d91dfe9
Initial commit - PR-Agent OSS release 2023-07-06 00:21:08 +03:00