Kamakura
86d901d5a6
Update __init__.py
2024-06-04 11:17:04 +08:00
Kamakura
b1444eb180
format github_action_runner.py
2024-06-04 11:10:13 +08:00
Kamakura
d3a7041f0d
update alog/__init__.py
2024-06-04 00:00:22 +08:00
Kamakura
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
Ori Kotek
2b0dfc6298
Merge remote-tracking branch 'origin/main' into ok/gitlab_fix
2024-06-03 14:15:46 +03:00
Ori Kotek
76ff49d446
Refactor GitLab webhook initialization to move app setup outside of start function
2024-06-03 12:38:41 +03:00
Ori Kotek
413547f404
Refactor GitLab webhook handling for async processing and improved logging
2024-06-03 12:36:24 +03:00
mrT23
09190efb65
Add PR evaluation prompt and link to fine-tuning benchmark documentation
2024-06-03 11:35:39 +03:00
mrT23
4f13007267
Disable final update message when auto_describe is enabled in GitHub Action Runner
2024-06-03 08:15:36 +03:00
Tal
83f3cc5033
Merge pull request #933 from MarkRx/bugfix/server-logging-context
...
Fix some server implementations not properly logging context
2024-06-02 08:29:43 +03:00
Mark
4971071b1f
Merge branch 'main' into feature/valid-file-filter-log
2024-05-31 09:10:50 -04:00
Tal
ea9d410c84
Merge pull request #928 from MarkRx/bugfix/bb-server-fixes
...
Bitbucket Server Provider Fixes
2024-05-31 11:12:41 +03:00
MarkRx
d9a7dae6c4
Better error handling on backgrounp task thread
2024-05-30 20:22:58 -04:00
MarkRx
c9c14c10b0
Fix some server implementations not properly logging context
2024-05-30 20:16:21 -04:00
MarkRx
bd2f2b3a87
Improve bb server error logging
2024-05-30 17:31:46 -04:00
MarkRx
c11ee8643e
Bitbucket server filter out globally ignored files before attempting diff
2024-05-30 11:34:39 -04:00
mrT23
e6c5236156
Add logging for skipping non-code files in GitHub provider
2024-05-30 17:05:30 +03:00
MarkRx
ee90f38501
BB Server fixes. Fix ID not being retrieved, inline comments, url generation, and pr review not working
2024-05-30 10:05:00 -04:00
mrT23
911c1268fc
Add large_patch_policy configuration and implement patch clipping logic
2024-05-29 13:52:44 +03:00
mrT23
17f46bb53b
Add large_patch_policy configuration and implement patch clipping logic
2024-05-29 13:42:44 +03:00
mrT23
da44bd7d5e
extended_patch
2024-05-22 21:50:00 +03:00
mrT23
83ff9a0b9b
final_update_message
2024-05-22 21:49:33 +03:00
mrT23
4cd9626217
grammar
2024-05-22 21:47:49 +03:00
mrT23
71770f3c04
Update default setting of final_update_message to false in describe.md and configuration.toml
2024-05-20 14:25:51 +03:00
mrT23
2880e48860
Refactor model selection logic for PR tools and update turbo model to gpt-4o
2024-05-19 12:29:06 +03:00
mrT23
9b56c83c1d
APP_NAME
2024-05-19 12:18:22 +03:00
mrT23
dcd188193b
Update configuration_options.md to include tip on showing relevant configurations
2024-05-19 08:20:15 +03:00
mrT23
ea4ee1adbc
Add show_relevant_configurations function and integrate it across tools to output relevant configurations if enabled
2024-05-18 13:09:50 +03:00
Tal
f9af9e4a91
Update pr_code_suggestions_prompts.toml
2024-05-16 21:59:00 +03:00
Tal
3b3e885b76
Merge pull request #906 from Codium-ai/tr/self_reflect
...
Tr/self reflect
2024-05-16 21:57:32 +03:00
mrT23
46e934772c
Rename "Custom Suggestions" feature to "Custom Prompt" across documentation, README, and tool references
2024-05-16 21:55:02 +03:00
mrT23
cc08394e51
Refine field descriptions in pr_code_suggestions_prompts.toml and comment out default scoring error log in pr_code_suggestions.py
2024-05-16 21:49:06 +03:00
Tal
be701aa868
Merge pull request #902 from Codium-ai/tr/self_reflect
...
Refactor Azure DevOps provider to use PR iterations for change detect…
2024-05-15 09:22:14 +03:00
mrT23
4231a84e7a
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-15 09:15:12 +03:00
mrT23
e56320540b
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-15 09:05:01 +03:00
mrT23
e4565f7106
Refactor Azure DevOps provider to use PR iterations for change detection, improving accuracy of diff file identification
2024-05-14 21:43:14 +03:00
KennyDizi
36ad8935ad
Add gpt-4o models
2024-05-14 08:24:34 +07:00
mrT23
05876afc02
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:21:31 +03:00
mrT23
f3eb74d718
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:18:17 +03:00
mrT23
b0aac4ec5d
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:13:37 +03:00
mrT23
95c7b3f55c
Refactor pr_code_suggestions logic and update prompts for clarity and consistency
2024-05-13 18:03:13 +03:00
mrT23
fbacc7c765
artifact
2024-05-13 09:19:08 +03:00
mrT23
61ba015a55
artifact
2024-05-12 16:22:40 +03:00
mrT23
4f6490b17c
Integrate self-reflection feature in PR-Agent, enhancing code suggestions with scoring and sorting, and update documentation accordingly
2024-05-12 16:17:47 +03:00
mrT23
d348cffbae
Enhance error handling and logging in pr_code_suggestions with default scores and contextualized self_reflection
2024-05-12 15:52:59 +03:00
mrT23
c04ab933cd
s
2024-05-12 15:04:36 +03:00
mrT23
a55fa753b9
s
2024-05-12 14:54:35 +03:00
mrT23
8e0435d9a0
s
2024-05-12 14:40:25 +03:00
mrT23
39c0733d6f
s
2024-05-12 14:00:30 +03:00
mrT23
a588e9f2bb
s
2024-05-12 13:55:12 +03:00
mrT23
1ebc20b761
self_reflect
2024-05-12 13:49:28 +03:00
mrT23
097637d7c0
toolbar emojis in pr-agent feedbacks
2024-05-05 13:48:45 +03:00
mrT23
34ad5f2aa2
toolbar emojis in pr-agent feedbacks
2024-05-05 13:33:54 +03:00
tacascer
2e34436589
chore: update GPT3.5 models
2024-04-22 20:25:32 -04:00
Tal
fae6cab2a7
Merge pull request #877 from randy-tsukemen/support-groq-llama3
...
Add Groq Llama3 support
2024-04-22 11:41:12 +03:00
Randy, Huang
d457fa2b9f
Add Groq API key configuration to .secrets_template.toml
2024-04-21 15:22:40 +09:00
Randy, Huang
0a53f09a7f
Add GROQ.KEY support in LiteLLMAIHandler
2024-04-21 15:21:45 +09:00
Randy, Huang
7a9e73702d
Fix duplicate assignment of replicate_key in LiteLLMAIHandler
2024-04-21 14:47:25 +09:00
mrT23
7563af08a0
docs
2024-04-18 08:44:08 +03:00
mrT23
ad96326832
not
2024-04-18 07:53:37 +03:00
mrT23
8242b10d8e
Replace summarize_mode with commitable_code_suggestions_mode in pr_code_suggestions_prompts.toml to enhance PR suggestion mechanism
2024-04-18 07:31:33 +03:00
mrT23
2f4e40860d
Replace keep_original_user_title with generate_ai_title for PR description customization and update documentation accordingly
2024-04-17 16:29:12 +03:00
mrT23
b076c33351
commitable_code_suggestions
2024-04-17 15:32:45 +03:00
mrT23
44eb0b4f23
ask
2024-04-14 14:12:48 +03:00
mrT23
92ef2b4464
ask
2024-04-14 14:09:58 +03:00
mrT23
86e64501df
ask
2024-04-14 12:43:26 +03:00
mrT23
f0230fce79
gpt-4-turbo-2024-04-09
2024-04-14 12:37:54 +03:00
mrT23
4683a29819
s
2024-04-14 12:34:14 +03:00
mrT23
8f0f08006f
s
2024-04-14 12:00:19 +03:00
mrT23
a4680ded93
protections
2024-04-12 20:32:47 +03:00
Pavel Kvach
4c83bf695d
Handle OPENAI_KEY not set error in github_action_runner.py
...
Fixes https://github.com/Codium-ai/pr-agent/issues/855
2024-04-12 10:50:00 +03:00
idubnori
9e4ffd824c
Merge branch 'main' into feature/gha-outputs-1
2024-04-10 23:27:44 +09:00
idubnori
ae633b3cea
refine: github_action_output
2024-04-10 22:30:16 +09:00
idubnori
97dcb34d77
clean: rename to github_action_output
2024-04-10 22:16:09 +09:00
Yuta Nishi
108b1afa0e
add new models
2024-04-10 14:44:38 +09:00
idubnori
3412095d81
chore: change default to true, if use in github actions
2024-04-10 09:18:21 +09:00
idubnori
75c4befadf
feat: set review data to github actions output
2024-04-10 01:02:05 +09:00
phuongvietnamlab
0257b619ff
Failed to review PR: name 'is_valid_file' is not defined
2024-04-09 15:47:54 +07:00
mrT23
8a5b01b465
empty calc_pr_statistics
2024-04-08 14:49:00 +03:00
mrT23
84d8f78d0c
publish_output
2024-04-08 14:00:41 +03:00
mrT23
2be0e9108e
readme
2024-04-07 17:00:40 +03:00
mrT23
aa2121a48d
readme
2024-04-07 16:28:30 +03:00
mrT23
d6b037a63a
readme
2024-04-07 11:51:06 +03:00
mrT23
9c3673209d
TokenEncoder
2024-04-03 08:42:50 +03:00
mrT23
3ebb72e3f1
feat: add persistent comment option for PR descriptions
2024-04-02 17:52:34 +03:00
gregoryboue
501b059575
feat: allows ollama usage
...
Fix https://github.com/Codium-ai/pr-agent/issues/657
2024-04-02 11:01:45 +02:00
mrT23
8bda365636
docs: Add "Improve Component" tool documentation and update related guides
2024-03-31 12:13:25 +03:00
mrT23
c3b3651769
refine help
2024-03-31 11:43:00 +03:00
mrT23
79bdb9a69f
bugfix: validate output publishing with progress condition in pr_code_suggestions
2024-03-27 19:56:27 +02:00
idubnori
493f73f1ce
chore: add logging the reason not execute
2024-03-27 12:03:27 +09:00
Tal
26c4a98fc8
Merge pull request #820 from riya-amemiya/riya-amemiya/change_gpt-4-turbo_model
...
add support for gpt-4-turbo-preview model
2024-03-26 10:46:51 +02:00
Riya Amemiya
a7494746df
revert default model
2024-03-26 16:21:30 +09:00
mrT23
1491bcba96
logs
2024-03-26 08:09:33 +02:00
Yuta Nishi
d064a352ad
feat(pr_agent): add support for gpt-4-turbo-preview model and update default settings
2024-03-26 14:47:05 +09:00
mrT23
9c284e64cf
dont log pr-agent bot
2024-03-25 12:27:45 +02:00
mrT23
903d74b2f7
ignore_bot_pr = true
2024-03-25 11:42:24 +02:00
mrT23
3cdadb3ad1
always ignore bot
2024-03-25 09:04:07 +02:00
mrT23
695f0706a8
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py
2024-03-25 08:53:13 +02:00
mrT23
07f5025b03
Refactor help text for clarity and update configuration links in help.py; standardize variable naming in cli.py
2024-03-25 08:51:59 +02:00
mrT23
ee4798acca
adjustments to pypi
2024-03-23 16:16:32 +02:00