38ea9143f3
Make LangChain dependency optional in pr-agent and update requirements.txt
2023-12-14 09:05:53 +02:00
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
3531016a2c
Refactor AI handler instantiation in PRAgent and related classes
2023-12-14 08:53:22 +02:00
e37598fdca
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-14 07:45:43 +08:00
557b39ec87
Merge branch 'base-ai-handler' into abstract-BaseAiHandler
2023-12-14 07:44:13 +08:00
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
89c30ab5dc
feat: Add repository labels retrieval function in gitlab_provider.py
2023-12-13 17:21:58 +02:00
ebb2ed891b
Add logging to pr_agent.py
2023-12-13 08:16:45 +08:00
8fb4a42ef1
Update AI handler instantiation in server files
2023-12-13 08:16:02 +08:00
ca1ccd7b91
update base
2023-12-12 23:56:20 +08:00
b7225cc674
update langchain
2023-12-12 23:52:50 +08:00
a627dcd64f
Update langchain
2023-12-12 23:28:58 +08:00
0c66554d50
langchain: move model and temperature to chat_completion
2023-12-12 23:07:46 +08:00
6c7beccb4f
add LangChain AI Handler
2023-12-12 23:03:49 +08:00
7eb2e769cf
Move ai handlers to specific folder
2023-12-12 23:03:38 +08:00
5239e1c3e9
Load default AI Handler from util function
2023-12-12 21:51:05 +08:00
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
512c92fe51
feat: Enable PR description publishing as comment in bitbucket_app.py
2023-12-12 10:19:17 +02:00
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
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
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
afb633811f
remove bad default
2023-12-12 09:18:51 +02:00
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
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
fdc776887d
Refactor labels
2023-12-11 16:47:38 +02:00
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
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
480e2ee678
feat: Improve PR description formatting in pr_description.py
2023-12-11 15:55:04 +02:00
9b97073174
s
2023-12-11 12:00:44 +02:00
ebf7027aab
add openai handler
2023-12-11 17:49:20 +08:00
a1cbd80b2a
update base ai handler
2023-12-11 17:49:09 +08:00
b8021d7ca3
rename file
2023-12-11 16:57:23 +08:00
523a896465
Rename AiHandler to LiteLLMAiHandler
2023-12-11 16:56:49 +08:00
02c0c89b13
feat: Add exception handling for discussion creation in gitlab_provider.py
2023-12-11 08:29:09 +02:00
2b1e841ef1
s
2023-12-10 19:45:54 +02:00
a247fc3263
s
2023-12-10 17:46:49 +02:00
654938f27c
feat: Enhance code feedback formatting in utils.py
2023-12-10 17:30:27 +02:00
b6409929d2
Remove extra code
2023-12-09 16:51:50 +00:00
c0303ff9ec
Merge remote-tracking branch 'upstream/main' into abstract-BaseAiHandler
2023-12-09 16:47:13 +00:00
f2abe5c73e
Abstract AiHandler to BaseAiHandler
2023-12-09 16:39:25 +00:00
7e47baa9db
Refactor AI handler classes
2023-12-10 00:25:25 +08:00
f908d02ab4
readme
2023-12-07 15:26:36 +02:00
7d2a35e32c
final commit
2023-12-07 10:27:19 +02:00
e351428848
s
2023-12-07 10:24:36 +02:00
4cd6649a44
feat: Enhance PR description formatting in pr_description.py
...
Improve the table structure for relevant files in PR description by adjusting the header and filename display. Add padding for filename and change summary, and move diff_plus_minus to a separate column. Refactor _insert_br_after_x_chars function to accept a variable length parameter.
2023-12-07 10:14:18 +02:00
e62acef6d2
s1
2023-12-07 09:50:36 +02:00
a043eb939b
feat: Apply repo settings on push trigger in github_app.py
2023-12-07 08:42:18 +02:00
a61e492fe1
feat: Refactor PR files processing into separate function in pr_description.py
2023-12-06 17:01:21 +02:00
93b6d31505
s
2023-12-06 16:36:27 +02:00
429aed04b1
s
2023-12-06 16:32:53 +02:00