mrT23
37259e550f
Merge pull request #540 from Codium-ai/tr/backticks
...
Enhancement of PR Description Formatting and Instructions Update
2023-12-20 22:16:53 -08:00
Ori Kotek
ccb116922f
Merge pull request #529 from lukefx/bitbucket_webhook_improvements
...
feat: Improved server, security and commands
2023-12-20 17:27:06 +02:00
mrT23
c079deba21
feat: Enhance PR description formatting and update instructions in pr_description_prompts.toml
2023-12-20 16:45:21 +02:00
mrT23
1c4e64333c
feat: Implement label case conversion and update label descriptions in settings files
2023-12-18 12:29:06 +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
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
mrT23
93b6d31505
s
2023-12-06 16:36:27 +02:00
mrT23
429aed04b1
s
2023-12-06 16:32:53 +02:00
mrT23
eeb20b055a
feat: Add line count to file patch info and enhance PR description formatting
2023-12-06 15:29:45 +02:00
mrT23
4b073b32a5
feat: Enhance PR description with file label dictionary and update prompts in pr_description_prompts.toml
2023-12-06 12:30:51 +02:00
mrT23
f629755a9a
feat: Refine field descriptions in pr_description_prompts.toml for semantic file labels
2023-12-06 10:59:44 +02:00
mrT23
c1ed3ee511
feat: Refine field descriptions in pr_description_prompts.toml for semantic file labels
2023-12-06 08:08:01 +02:00
mrT23
cf3401536a
feat: Remove 'Refactoring' label from custom labels and update related descriptions
2023-12-05 07:48:21 +02:00
mrT23
2feaee4306
feat: Update field descriptions in pr_description_prompts.toml for clarity
2023-12-04 21:45:22 +02:00
mrT23
863eb0105d
feat: Refactor semantic labels in PR description and improve clarity in pr_description.py and pr_description_prompts.toml
2023-12-04 21:23:59 +02:00
mrT23
21a7a0f136
feat: Enhance link generation for relevant lines and refactor code in git providers and PR description tools
2023-12-04 21:06:56 +02:00
Hussam.lawen
d2a129fe30
Add labeling files
2023-12-04 18:22:35 +02:00
mrT23
4dcbce41c8
feat: Refine prompts and improve formatting in pr_sort_code_suggestions_prompts.toml and pr_update_changelog_prompts.toml
2023-12-03 17:27:22 +02:00
mrT23
b3fa654446
feat: Refactor prompts and improve formatting in pr_questions_prompts.toml
2023-12-03 17:23:52 +02:00
mrT23
e09439fc1b
feat: Enhance formatting and clarity in pr_information_from_user_prompts.toml
2023-12-03 17:17:24 +02:00
mrT23
324e481ce7
feat: Improve formatting and clarity in pr_custom_labels.toml
2023-12-03 17:15:29 +02:00
mrT23
abfad088e3
feat: Refine prompts and instructions in pr_add_docs.toml
2023-12-03 17:10:33 +02:00
mrT23
f30789e6c8
feat: Refactor and enhance prompts in pr_code_suggestions_prompts.toml
2023-12-03 16:59:47 +02:00
mrT23
5c01f97f54
feat: Enhance PR description prompts in pr_description_prompts.toml
2023-12-03 16:48:26 +02:00
mrT23
2d726edbe4
feat: Improve formatting and clarity in pr_reviewer_prompts.toml
2023-12-03 16:40:06 +02:00
mrT23
586785ffde
feat: Add pr_url attribute to git providers and final update message in PR description
2023-12-03 10:46:02 +02:00
tmokmss
1373ca23fc
support Amazon Bedrock
2023-11-28 20:58:42 +09:00
mrT23
f96d4924e7
feat: Add line link generation in git providers and refactor code suggestions generation
2023-11-26 11:57:45 +02:00
mrT23
668041c09f
Code suggestions guidelines:
2023-11-26 09:32:02 +02:00
mrT23
aa73eb2841
PR
2023-11-26 09:24:33 +02:00
mrT23
14d4ca8c74
PR
2023-11-26 09:22:19 +02:00
mrT23
690c113603
refactor: Improve clarity and consistency in pr_code_suggestions_prompts.toml and pr_reviewer_prompts.toml files
2023-11-26 09:17:42 +02:00
mrT23
1a28c77783
Previous description
2023-11-26 09:08:33 +02:00
mrT23
0326b7e4ac
refactor: Update PR prompts in toml files for clarity and consistency
2023-11-26 09:05:45 +02:00
mrT23
8db2e3b2a0
feat: Enhance readability in toml files and add verbosity level logging in pr_generate_labels.py
2023-11-26 08:42:04 +02:00
mrT23
d7df4287f8
feat: Update PR prompts in toml files to enhance readability and consistency
2023-11-26 08:17:16 +02:00
mrT23
b3238e90f2
s
2023-11-26 08:10:01 +02:00
mrT23
fdfd6247fb
Merge branch 'main' into tr/pydantic
2023-11-25 21:36:16 -08:00
Ori Kotek
613ccb4c34
Add support for base_url in GitHub SDK
2023-11-21 16:48:36 +02:00
mrT23
3504a64269
protections
2023-11-19 17:35:40 +02:00
mrT23
388cc740b6
Merge pull request #436 from rhyst/support-vertex-ai
...
Support Google's Vertex AI
2023-11-15 04:26:08 -08:00
mrT23
762a6981e1
extra_labels
2023-11-15 14:12:59 +02:00
mrT23
9478447141
extra_labels
2023-11-15 14:02:13 +02:00
Rhys Tyers
557ec72bfe
Update documentation for Vertex AI
2023-11-15 10:27:48 +00:00
mrT23
0df0542958
prompt
2023-11-13 15:55:35 +02:00
Hussam.lawen
a5e5a82952
s
2023-11-13 13:49:16 +02:00
Hussam.lawen
ccbb62b50a
remove the "one or more" for custom labels
2023-11-13 13:47:06 +02:00
mrT23
a8dddd1999
prompt
2023-11-13 12:14:18 +02:00
mrT23
f5c6dd55b8
triple quote
2023-11-13 12:04:58 +02:00
mrT23
0e932af2e3
multi line
2023-11-13 12:01:08 +02:00
mrT23
e9891fc530
s1
2023-11-12 16:37:53 +02:00
mrT23
727eea2b62
s1
2023-11-12 15:00:06 +02:00
mrT23
14610d5375
persistent
...
s
2023-11-08 20:16:08 +02:00
mrT23
49725e92f2
s
2023-11-08 14:41:15 +02:00
mrT23
094f641fb5
code
2023-11-07 14:38:37 +02:00
mrT23
a35a75eb34
get_max_tokens + added 'gpt-4-1106-preview'
2023-11-07 14:28:41 +02:00
Hussam.lawen
ff79776410
Keep user labels
2023-11-06 15:14:08 +02:00
Hussam.lawen
ec3f2fb485
Revert "generate labels keep user labels only"
...
This reverts commit 94a2a5e527 .
2023-11-06 15:08:29 +02:00
Hussam.lawen
94a2a5e527
generate labels keep user labels only
2023-11-06 15:07:06 +02:00
mrT23
e352c98ce8
Merge pull request #431 from Codium-ai/hl/type_vs_labels
...
Refactoring PR Labels Handling and Display
2023-11-06 02:10:38 -08:00
Hussam.lawen
e96b03da57
add configuration enable_pr_type
2023-11-06 11:58:26 +02:00
mrT23
4c484f8e86
Merge pull request #423 from zmeir/zmeir-external-incremental_review_thresholds
...
Implementing Thresholds for Incremental PR Reviews
2023-11-06 01:07:01 -08:00
mrT23
7238c81f0c
fix prompt
2023-11-06 09:41:26 +02:00
mrT23
62412f8cd4
fix prompt
2023-11-06 09:38:39 +02:00
mrT23
5d2bdadb45
fix prompt
2023-11-06 09:33:10 +02:00
mrT23
06d030637c
fix prompt
2023-11-06 09:32:46 +02:00
zmeir
92071fcf1c
Stack all incremental parameters
2023-11-06 09:13:04 +02:00
Hussam.lawen
3548b88463
type and labels
2023-11-05 15:48:39 +02:00
zmeir
c623c3baf4
Added new configurations to prevent too frequent incremental commits on push trigger
2023-11-02 12:24:54 +02:00
Hussam Lawen
3ddc7e79d1
Update pr_reviewer_prompts.toml
2023-11-02 11:45:34 +02:00
KennyDizi
29a8cf8357
fix typo for ollama
2023-10-31 20:38:27 +07:00
Ori Kotek
61d3e1ebf4
Merge pull request #394 from zmeir/zmeir-external-push_trigger
...
Added support for automatic review on push event
2023-10-29 13:04:33 +02:00
mrT23
d772213cfc
fix labels
2023-10-29 08:58:12 +02:00
Hussam Lawen
4dffabf397
Merge pull request #396 from Codium-ai/hl/custom_labels
...
Implement Custom Labels for PRs
2023-10-28 01:37:54 +03:00
Hussam.lawen
9e41f3780c
disable custom labels by default
2023-10-27 21:22:56 +03:00
Hussam.lawen
f53ec1d0cc
move enable custom labels to custom labels function
2023-10-27 21:12:58 +03:00
Hussam.lawen
a7cb59ca8b
small fix
2023-10-27 08:10:29 +03:00
Hussam.lawen
0cf27e5fee
custom labels disabled by default
2023-10-27 07:54:59 +03:00
Hussam.lawen
f3bdbfc103
Add /generate_labels function + fix issues
2023-10-26 23:28:33 +03:00
zmeir
6541575a0e
Refactor to use pull_request synchronize event
2023-10-26 16:49:54 +03:00
zmeir
02570ea797
Remove previous review comment on push event
2023-10-26 16:46:54 +03:00
zmeir
65bb70a1dd
Added support for automatic review on push event
...
The new feature can be enabled via the new configuration `github_app.handle_push_event`. To avoid any unwanted side-effects, the current default of this configuration is set to `false`.
The high level flow (assuming the configuration is enabled):
1. receive push event from GitHub
2. extract branch and commits from event
3. find PR url for branch (currently does not support PRs from forks)
4. perform configured commands (e.g. `/describe`, `/review -i`)
The push event flow is guarded by a backlog queue so that multiple push events on the same branch won't trigger multiple duplicate runs of the PR-Agent commands.
Example timeline:
1. push 1 - start handling event
2. push 2 - waiting to be handled while push 1 event is still running
3. push 3 - event is dropped since handling it and handling push 2 is the same, so it is redundant
4. push 1 finished being handled
5. push 2 awakens from wait and continues handling (potentially reviewing the commits of both push 2 and push 3)
All of these options are configurable and can be enabled/disabled as per the user's desire.
Additional minor changes in this PR:
1. Created `DefaultDictWithTimeout` utility class to avoid too much boilerplate code in managing caches for outdated triggers.
2. Guard against running increment review when there are no new commits.
3. Minor styling changes for incremented review text.
2023-10-25 11:15:23 +03:00
Hussam.lawen
1a89c7eadf
refactor + add description options
2023-10-24 22:28:57 +03:00
Krystal Boozel
f9e4c2b098
Update configuration.toml
2023-10-23 21:34:12 -04:00
Hussam.lawen
fa24413201
Custom Labels
2023-10-23 16:29:33 +03:00
Hussam Lawen
1b6fb3ea53
Merge pull request #385 from Codium-ai/hl/fix_add_docs_in_scripts
...
Add Blacklist for Non-Editable File Extensions in Documentation
2023-10-19 11:21:36 +03:00
mrT23
a2c3db463a
use_bullet_points
2023-10-19 10:45:42 +03:00
mrT23
21a1cc970e
- update readme
...
- minor prompts change
2023-10-19 09:16:20 +03:00
Hussam.lawen
3673924fe9
Add docs editable blacklist of file extensions like sql, yaml...
2023-10-17 18:50:39 +03:00
jamesrom
baa0e95227
Code comments for ignore.toml
2023-10-06 21:53:10 +11:00
jamesrom
e387086890
Add support for ignoring files
...
Add ignore.toml, configuration for ignoring files
Add file_filter.py, for matching files against glob/regex patterns
Update relevant code to use file filter
+Tests
2023-10-06 01:43:35 +11:00
mrT23
44239f1a79
Patch Extra Lines
2023-10-05 08:38:43 +03:00
mrT23
428e6382bd
prompts minor update
2023-10-05 08:17:37 +03:00
Hussam.lawen
e941fa9ec0
Add to user tools guide
2023-10-01 19:51:15 +03:00
Hussam.lawen
b2369c66d8
Merge commit '8d075b76ae081d0d38813f789478e4fa0f404cd8' into hl/add_docs
...
# Conflicts:
# README.md
2023-10-01 13:55:50 +03:00
Hussam.lawen
ab5ac8ffa8
rename vars + Add to README.md
2023-10-01 13:52:00 +03:00
Hussam.lawen
ccc7f1e10a
rename vars
2023-10-01 13:07:08 +03:00
mrT23
e07412c098
prompt and readme updates
2023-10-01 09:00:58 +03:00
Stefan Petrushevski
cae0f627e2
Add lockb to bad extensions
2023-09-28 22:26:25 +02:00
Hussam.lawen
043d453cab
add doc placement before after
2023-09-28 22:44:15 +03:00
Hussam.lawen
cd3527f7d4
add configurable docstring style
2023-09-28 20:58:37 +03:00
Hussam.lawen
4accddcaa7
revert verbosity
2023-09-28 20:12:36 +03:00
Hussam.lawen
bb8a0f10f4
refine /add_docs
2023-09-28 20:11:18 +03:00
Hussam.lawen
c3cbaaf09e
Initial add docs
2023-09-27 16:48:17 +03:00
mrT23
34ed598c20
yaml
2023-09-25 18:30:20 +03:00
mrT23
8f81c18647
auto commands in github action
2023-09-25 18:01:32 +03:00
mrT23
aa32024078
no comments
2023-09-25 16:58:08 +03:00
dulalbert
62746294e3
Correct typo in pr_reviewer_prompts.toml
2023-09-22 10:23:01 +08:00
mrT23
ea91a38541
Estimated effort to review
2023-09-17 16:31:58 +03:00
mrT23
caaee4e43d
Estimated time to review
2023-09-15 17:09:58 +03:00
mrT23
084256b923
fixed config
2023-09-14 08:23:34 +03:00
mrT23
99f17666c5
merge
2023-09-14 08:20:36 +03:00
mrT23
b94e3521d1
Merge remote-tracking branch 'origin/main' into markers
...
# Conflicts:
# pr_agent/tools/pr_description.py
2023-09-14 07:46:30 +03:00
Ori Kotek
b7a2551cab
Support issue comments in GitHub Actions
2023-09-12 16:46:02 +03:00
Ori Kotek
98d0835c48
Merge remote-tracking branch 'origin/main' into fix_bitbucket_publish_description
2023-09-10 14:08:17 +03:00
Ori Kotek
2aef9dfe55
Merge remote-tracking branch 'origin/main' into fix_bitbucket_publish_description
2023-09-10 14:06:54 +03:00
Ori Kotek
115b513c9b
Remove 'bitbucket' explicit dependency anywhere that's not in bitbucket_provider.py
2023-09-10 14:06:13 +03:00
mrT23
d40285e4d3
Merge branch 'main' into tr/litellm_debugger
2023-09-10 13:40:35 +03:00
mrT23
517658fb37
Merge pull request #282 from Codium-ai/tr/issue_tool
...
Adding Similar Issue Tool and Pinecone Integration
2023-09-10 13:39:34 +03:00
mrT23
6382b8a68b
LITELLM_TOKEN
2023-09-10 13:28:56 +03:00
mrT23
e371b217ec
Merge remote-tracking branch 'origin/main' into tr/litellm_debugger
2023-09-10 13:27:19 +03:00
mrT23
892dbe458e
litellm client
2023-09-09 17:35:45 +03:00
Krrish Dholakia
1b098aea13
adding documentation on how to call local hf models
2023-09-08 09:59:44 -07:00
mrT23
b23a4c0535
Merge remote-tracking branch 'origin/main' into tr/issue_tool
...
# Conflicts:
# requirements.txt
2023-09-07 12:30:16 +03:00
mrT23
8af8fd8e5d
github action
2023-09-06 17:43:43 +03:00
mrT23
8962c9cf8a
stable
2023-09-06 09:43:23 +03:00
mrT23
dcd8196b94
Merge remote-tracking branch 'origin/main' into tr/issue_tool
...
# Conflicts:
# pr_agent/settings/configuration.toml
2023-09-06 08:43:41 +03:00
mrT23
901c1dc3f0
issue tool
2023-09-06 08:43:01 +03:00
Krrish Dholakia
5da6a0147c
showing how to use huggingface models
2023-09-05 16:23:22 -07:00
Krrish Dholakia
ca50724952
adding details on calling azure
2023-09-05 15:19:56 -07:00
Nikolay Telepenin
4a54532b6a
Set github provider by default
...
- merge README.md
2023-09-05 09:09:35 +01:00
Tim Perkins
746140b26e
Add support for markers in description
2023-09-04 12:11:39 -04:00
Nikolay Telepenin
eeea38dab3
Gerrit support
2023-09-01 14:31:34 +01:00
zmeir
c6c97ac98a
Try to change the improve command prompt to prevent split lines range
2023-08-30 23:33:38 +03:00
mrT23
2dc2a45e4b
yaml
2023-08-28 09:48:43 +03:00
Ori Kotek
5079daa4ad
Bitbucket server, WIP
2023-08-24 16:33:51 +03:00
mrT23
fd39c64bed
Merge pull request #233 from zmeir/zmeir-automatic_github_app_options
...
Support custom deployments for github_app.py and add more options for automatic review actions
2023-08-23 09:20:46 +03:00
mrT23
6599cbc7f2
Merge remote-tracking branch 'origin/main' into tr/tweaks_and_improvements
2023-08-23 09:17:53 +03:00
mrT23
53108a9b20
Merge branch 'main' into main
2023-08-23 09:16:00 +03:00
zmeir
f17b4fcc9e
Made the automatic describe command the least destructive
2023-08-22 21:14:03 +03:00
zmeir
5582a901ff
Merge branch 'main' into zmeir-automatic_github_app_options
2023-08-22 21:09:23 +03:00
mrT23
04be1573d5
improved review
2023-08-22 20:10:36 +03:00
Zohar Meir
a9a7a55f02
Remove redundant toggle
2023-08-22 18:28:43 +03:00
mrT23
635b243280
Merge pull request #223 from zmeir/zmeir-keep_original_pr_description
...
Enhancement: Retain Original User Description and Title in PRs
2023-08-22 16:47:16 +03:00
zmeir
782c170883
Support custom deployments for github_app.py and add more options for automatic review actions
2023-08-22 16:46:03 +03:00
mrT23
36e5e5a17e
update
2023-08-22 16:30:18 +03:00
mrT23
f4f040bf8d
publish each suggestion separably
2023-08-22 16:11:51 +03:00
zmeir
82fb611a26
Add options to keep original user title
2023-08-22 10:32:58 +03:00
zmeir
2b22f712fb
Renamed keep_user_description --> add_original_user_description
2023-08-22 09:55:56 +03:00
mrT23
b85679e5e4
improve --extend
2023-08-22 09:42:59 +03:00