Commit graph

1722 commits

Author SHA1 Message Date
Hussam.lawen
6c80fde6df
fix 2023-12-18 13:44:37 +02:00
Hussam.lawen
75dcb035a7
Update 2023-12-18 13:41:50 +02:00
Hussam Lawen
2ac86f429f
Merge pull request #531 from Codium-ai/disable_github_action
Update pr-agent-review.yaml
2023-12-18 13:39:09 +02:00
Hussam Lawen
9d2003d789
Update pr-agent-review.yaml 2023-12-18 13:38:06 +02:00
mrT23
d2aef95847
Merge pull request #530 from Codium-ai/tr/labels
Enhancement: Implement label case conversion and update label descriptions in settings files
2023-12-18 03:21:48 -08:00
mrT23
1c4e64333c
feat: Implement label case conversion and update label descriptions in settings files 2023-12-18 12:29:06 +02:00
Hussam.lawen
f121a420c9
Add to describe 2023-12-18 10:08:29 +02:00
Hussam.lawen
3b13738943
Add docs to custom labels page 2023-12-18 10:04:05 +02:00
Luca Simone
7a5acb29ac feat: Improved server, security and commands
Signed-off-by: Luca Simone <info@lucasimone.info>
2023-12-17 17:38:27 +01:00
mrT23
ce35addcd3
Merge pull request #528 from Codium-ai/tr/lazy_init
Refactor AI handler instantiation to use lazy initialization in PR tools
2023-12-17 07:01:24 -08:00
mrT23
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools 2023-12-17 16:52:03 +02:00
mrT23
54891ad1d2
Merge pull request #514 from brianpham93/abstract-BaseAiHandler
Abstract AiHandler to BaseAiHandler
2023-12-14 07:54:13 -08: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
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
Hussam Lawen
2a8c2e488a
Merge pull request #524 from Codium-ai/hl/native_labels_gitlab
feat: Add repository labels retrieval function in gitlab_provider.py
2023-12-13 17:36:18 +02:00
Hussam.lawen
89c30ab5dc
feat: Add repository labels retrieval function in gitlab_provider.py 2023-12-13 17:21:58 +02: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
648dd3299f
Merge pull request #521 from Codium-ai/tr/bitbucket_app
feat: Enable PR description publishing as comment in bitbucket_app.py
2023-12-12 00:27:48 -08:00
mrT23
77a6fafdfc
feat: Update Usage.md with limitations of bitbucket platform in auto_describe tool usage 2023-12-12 10:26:09 +02:00
mrT23
ea7511e3c8
feat: Update Usage.md with limitations of bitbucket platform in auto_describe tool usage 2023-12-12 10:23:37 +02:00
mrT23
512c92fe51
feat: Enable PR description publishing as comment in bitbucket_app.py 2023-12-12 10:19:17 +02: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