pr-agent/pr_agent
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
..
agent Refactor PRAgent class and has_ai_handler_param 2023-12-14 07:15:56 +08:00
algo Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
git_providers Merge pull request #377 from zmeir/zmeir-review_incremental_detect_header 2023-10-18 00:30:42 +03:00
log Refactor logging system to use custom logger across the codebase 2023-10-16 14:56:00 +03:00
secret_providers Enhance logging in bitbucket_app, gitlab_webhook, and google_cloud_storage_secret_provider with JSON format and additional context 2023-10-18 16:44:03 +03:00
servers Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
settings Merge pull request #385 from Codium-ai/hl/fix_add_docs_in_scripts 2023-10-19 11:21:36 +03:00
tools Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
__init__.py Initial commit - PR-Agent OSS release 2023-07-06 00:21:08 +03:00
cli.py Update AI handler instantiation in server files 2023-12-13 08:16:02 +08:00
config_loader.py Update settings, documentation 2023-10-06 21:03:36 +11:00