Commit graph

1403 commits

Author SHA1 Message Date
mrT23
38ea9143f3
Make LangChain dependency optional in pr-agent and update requirements.txt 2023-12-14 09:05:53 +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
e37598fdca Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler 2023-12-14 07:45:43 +08: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
be8d6af87f Add code documentation generation for PR diffs 2023-12-13 08:16:31 +08:00
Brian Pham
8fb4a42ef1 Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
Brian Pham
ca1ccd7b91 update base 2023-12-12 23:56:20 +08:00
Brian Pham
b7225cc674 update langchain 2023-12-12 23:52:50 +08:00
Brian Pham
a627dcd64f Update langchain 2023-12-12 23:28:58 +08:00
Brian Pham
0c66554d50 langchain: move model and temperature to chat_completion 2023-12-12 23:07:46 +08:00
Brian Pham
506eafc0c5 add langchain in requirement 2023-12-12 23:04:01 +08:00
Brian Pham
6c7beccb4f add LangChain AI Handler 2023-12-12 23:03:49 +08:00
Brian Pham
7eb2e769cf Move ai handlers to specific folder 2023-12-12 23:03:38 +08:00
Brian Pham
5239e1c3e9 Load default AI Handler from util function 2023-12-12 21:51:05 +08:00
mrT23
1853b4ef47
Merge pull request #520 from Codium-ai/tr/bitbucket_app
Refactor auto tool execution order and enhance logging and documentation
2023-12-12 00:02:02 -08:00
mrT23
2f10b4f3c5
feat: Refactor auto tool execution order in bitbucket_app.py, add logging in pr_description.py, and update tool configuration instructions in Usage.md 2023-12-12 09:59:26 +02:00
mrT23
73a20076eb
Merge pull request #519 from Codium-ai/tr/bitbucket_app
Enhancement: Automatic Tool Configuration for Bitbucket App
2023-12-11 23:26:30 -08:00
mrT23
afb633811f
remove bad default 2023-12-12 09:18:51 +02:00
mrT23
81da328ae3
feat: Add automatic tool configuration for Bitbucket app in bitbucket_app.py and configuration.toml, update Usage.md 2023-12-12 08:06:20 +02:00
Hussam Lawen
729f5e9c8e
Merge pull request #518 from Codium-ai/hl/github_native_labels
Refactoring Label Handling Across Git Providers
2023-12-11 16:50:19 +02:00
Hussam.lawen
fdc776887d
Refactor labels 2023-12-11 16:47:38 +02:00
mrT23
cb64f92cce
Merge pull request #511 from Codium-ai/tr/local_settings_on_push
Enhancement: Apply Repository Settings on Every 'Synchronize' Event
2023-12-11 06:27:29 -08:00
mrT23
f3ad0e1d2a
Merge pull request #517 from Codium-ai/tr/main_tmp
Improve PR description formatting and handling in pr_description.py
2023-12-11 06:15:46 -08:00
mrT23
480e2ee678
feat: Improve PR description formatting in pr_description.py 2023-12-11 15:55:04 +02:00
mrT23
9b97073174
s 2023-12-11 12:00:44 +02:00
mrT23
4271bb7e52
Merge pull request #516 from Codium-ai/coditamar-readme-clarifications
Refine README.md for clarity and precision
2023-12-11 01:53:46 -08:00
mrT23
e9bf8574a8
Update README.md 2023-12-11 11:52:36 +02:00
Brian Pham
ebf7027aab add openai handler 2023-12-11 17:49:20 +08:00
Brian Pham
a1cbd80b2a update base ai handler 2023-12-11 17:49:09 +08:00
Itamar Friedman
2ce4af16cb
Update README.md
fix grammar according to PR-Agent suggestions
2023-12-11 11:10:27 +02:00
Itamar Friedman
2c1dfe7f3f
Update README.md 2023-12-11 10:58:30 +02:00
Brian Pham
b8021d7ca3 rename file 2023-12-11 16:57:23 +08:00
Brian Pham
523a896465 Rename AiHandler to LiteLLMAiHandler 2023-12-11 16:56:49 +08:00
mrT23
f7a6348401
Merge pull request #515 from Codium-ai/tr/review_graphics
Enhancement of Code Feedback Formatting in utils.py
2023-12-10 22:37:18 -08:00
mrT23
02c0c89b13
feat: Add exception handling for discussion creation in gitlab_provider.py 2023-12-11 08:29:09 +02:00
mrT23
b8cc110cbe
s 2023-12-10 19:51:08 +02:00
mrT23
2b1e841ef1
s 2023-12-10 19:45:54 +02:00
mrT23
a247fc3263
s 2023-12-10 17:46:49 +02:00
mrT23
654938f27c
feat: Enhance code feedback formatting in utils.py 2023-12-10 17:30:27 +02:00
Brian Pham
b6409929d2 Remove extra code 2023-12-09 16:51:50 +00:00
Brian Pham
c0303ff9ec Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler 2023-12-09 16:47:13 +00:00
Brian Pham
f2abe5c73e Abstract AiHandler to BaseAiHandler 2023-12-09 16:39:25 +00:00
Brian Pham
7e47baa9db Refactor AI handler classes 2023-12-10 00:25:25 +08:00
mrT23
a7a0de764c
Merge pull request #512 from Codium-ai/trlabeling_files_extended
Refactoring and Enhancement of PR Description Formatting in 'pr_description.py'
2023-12-07 05:38:37 -08:00
mrT23
1b22e59b4b
feat: Update RELEASE_NOTES.md with version 0.11 details 2023-12-07 15:35:48 +02:00
mrT23
f908d02ab4
readme 2023-12-07 15:26:36 +02:00
mrT23
7d2a35e32c
final commit 2023-12-07 10:27:19 +02:00