81dea65856
Format files by pre-commit run -a
...
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com >
2024-10-30 10:00:36 +09:00
c76aabc71e
Add callback functionality to litellm_ai_handler for enhanced logging and metadata capture
2024-08-17 09:15:05 +03:00
b4f0ad948f
Update Python code formatting, configuration loading, and local model additions
...
1. Code Formatting:
- Standardized Python code formatting across multiple files to align with PEP 8 guidelines. This includes adjustments to whitespace, line breaks, and inline comments.
2. Configuration Loader Enhancements:
- Enhanced the `get_settings` function in `config_loader.py` to provide more robust handling of settings retrieval. Added detailed documentation to improve code maintainability and clarity.
3. Model Addition in __init__.py:
- Added a new model "ollama/llama3" with a token limit to the MAX_TOKENS dictionary in `__init__.py` to support new AI capabilities and configurations.
2024-06-03 23:58:31 +08:00
a4680ded93
protections
2024-04-12 20:32:47 +03:00
8843f7bc8b
Add analytics logging
2024-02-26 16:15:23 +02:00
e9382b18b6
Added PRHelpMessage to command execution in pr_agent.py
2024-02-18 12:01:16 +02:00
fff52e9e26
Add ask line feature
2024-02-15 14:25:22 +02:00
433b8d24b8
Add logging context to command execution in pr_agent.py
2024-02-15 12:13:56 +02:00
2f327c26e8
auto approve
2024-02-13 11:21:59 +02:00
b190b1879e
auto approval
2024-02-06 09:09:07 +02:00
5fb373b212
Refactor AI handler instantiation to use lazy initialization in PR tools
2023-12-17 16:52:03 +02:00
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
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
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
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
9e5e9afe92
Refactor CLI argument handling and request processing
2023-11-12 16:11:34 +02:00
f3bdbfc103
Add /generate_labels function + fix issues
2023-10-26 23:28:33 +03:00
c324d88be3
Refactor logging system to use custom logger across the codebase
2023-10-16 14:56:00 +03:00
e7258e732b
Refactor repo-specific settings application into a utility function, fix merge bug
2023-10-14 01:39:05 +03:00
b2369c66d8
Merge commit '8d075b76ae081d0d38813f789478e4fa0f404cd8' into hl/add_docs
...
# Conflicts:
# README.md
2023-10-01 13:55:50 +03:00
813fa8571e
tools guide
2023-09-29 11:44:03 +03:00
c3cbaaf09e
Initial add docs
2023-09-27 16:48:17 +03:00
8af8fd8e5d
github action
2023-09-06 17:43:43 +03:00
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
6693aa3cbc
semi stable
2023-08-20 15:01:06 +03:00
2d5b0fa37f
Fix repo settings bug in Gitlab
2023-08-20 14:39:05 +03:00
631fb93b28
Implement Automatic Review Configuration for GitHub app
2023-08-16 16:24:30 -04:00
ebbe655c40
Don't commment on Github, only eyes reaction
2023-08-07 18:09:39 +03:00
dd14423b07
Add /config command to list the possible configuration settings
2023-08-02 16:42:54 +03:00
ab607d74be
Support repo-specific configuration file
2023-08-01 18:36:20 +03:00
e12874b696
Support repo-specific configuration file
2023-08-01 17:44:08 +03:00
8ae936e504
Bug fixes
2023-08-01 15:58:23 +03:00
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
3daf94954a
update_settings_from_args
2023-07-30 11:43:44 +03:00
4aa54b9bd4
Add /describe -c option
2023-07-27 17:42:50 +03:00
c827cbc0ae
final touches
2023-07-27 08:47:26 +03:00
14eceb6e61
PRUpdateChangelog
2023-07-26 20:05:18 +03:00
ee2c00abeb
split(" ") -> split()
2023-07-19 17:14:55 +03:00
3326327572
More refactoring....
2023-07-19 17:01:56 +03:00
8038b6ab99
refactor and clean
2023-07-19 14:22:34 +03:00
dc4bf13d39
Add Incremental Review
2023-07-18 23:14:47 +03:00
90f97b0226
Lint fixes
2023-07-18 11:34:57 +03:00
fdeae9c209
Update pr_agent/agent/pr_agent.py
2023-07-18 10:20:52 +03:00
51e08c3c2b
reflect and review + protections
2023-07-18 08:22:25 +03:00
f8f415eb75
stable
2023-07-17 15:49:29 +03:00
93311a9d9b
Update GitHub app
2023-07-16 15:42:50 +03:00
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