746140b26e
Add support for markers in description
2023-09-04 12:11:39 -04:00
de39595522
Merge pull request #252 from zmeir/zmeir-try_to_fix_split_line_ranges
...
Try to refine the prompt to prevent split line ranges that give bad suggestions
2023-08-31 20:36:33 +03:00
970a7896e9
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue
2023-08-31 13:35:32 +05:30
c6c97ac98a
Try to change the improve command prompt to prevent split lines range
2023-08-30 23:33:38 +03:00
92e23ff260
Fix #254
2023-08-30 23:05:41 +03:00
2aaa722102
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue
2023-08-29 09:49:19 +05:30
2dc2a45e4b
yaml
2023-08-28 09:48:43 +03:00
39522abc03
fix conflicts
2023-08-28 11:21:47 +05:30
355abfc39a
Bitbucket server, WIP
2023-08-24 18:35:41 +03:00
f0dc485305
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue
2023-08-24 16:14:29 +05:30
db6bf41051
update readme
2023-08-24 15:56:20 +05:30
67ff50583a
fix improve, update_changelog and review inline comment
2023-08-24 11:52:20 +05:30
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
f4f040bf8d
publish each suggestion separably
2023-08-22 16:11:51 +03:00
82fb611a26
Add options to keep original user title
2023-08-22 10:32:58 +03:00
2b22f712fb
Renamed keep_user_description --> add_original_user_description
2023-08-22 09:55:56 +03:00
b85679e5e4
improve --extend
2023-08-22 09:42:59 +03:00
fb9335f424
extended improve
2023-08-21 18:17:34 +03:00
31e91edebc
Allow keeping the original user description
2023-08-20 18:59:40 +03:00
6693aa3cbc
semi stable
2023-08-20 15:01:06 +03:00
fda98643c2
Merge pull request #217 from sarbjitsinghgrewal/fix_bitbucket_improve_issue
...
fix bitbucket improve issue
2023-08-20 14:42:15 +03:00
dff4646920
fix bitbucket improve issue
2023-08-18 17:48:45 +05:30
631fb93b28
Implement Automatic Review Configuration for GitHub app
2023-08-16 16:24:30 -04:00
70286e9574
Make the message more modest
2023-08-15 08:35:57 -04:00
3f60d12a9a
Publish comment when improve has no suggestions
2023-08-14 13:07:00 -04:00
bb5878c99a
Merge branch 'main' into tr/block_scalar
2023-08-11 18:36:21 +03:00
273a9e35d9
block scalar
2023-08-11 18:35:34 +03:00
d38c5236dd
Merge pull request #187 from Codium-ai/ok/limit_description
...
Limiting Description and Commit Messages Length
2023-08-09 14:14:47 +03:00
e0f295659d
A less hacky way
2023-08-09 12:17:54 +03:00
fe75e3f2ec
yaml
...
yaml
2023-08-09 12:15:52 +03:00
e3274af831
A (still) hacky way to clip description and commit messages
2023-08-09 10:17:58 +03:00
a00038fbd8
Merge remote-tracking branch 'origin/main' into patch-1
2023-08-06 18:09:09 +03:00
fed0ea349a
find_line_number_of_relevant_line_in_file
...
find_line_number_of_relevant_line_in_file
2023-08-06 08:13:07 +03:00
ed8554699b
bug fixes and updates
2023-08-03 16:05:46 -07:00
7a57db5d88
load_large_diff is done once
2023-08-03 22:14:05 +03:00
c92648cbd5
caching
2023-08-03 21:38:18 +03:00
cfa14178f8
Merge pull request #168 from Codium-ai/tr/further_use_commit_messages
...
Use commit messages in PR tools
2023-08-03 07:58:25 +03:00
3e94a71dcd
commit_messages_str is used in all tools
2023-08-02 18:26:39 +03:00
dd14423b07
Add /config command to list the possible configuration settings
2023-08-02 16:42:54 +03:00
c5a79ceedd
Merge remote-tracking branch 'origin/main' into ok/settings_refactor
2023-08-01 16:01:04 +03:00
8ae936e504
Bug fixes
2023-08-01 15:58:23 +03:00
8c0370a166
Commit messages in pr-description
2023-08-01 15:15:59 +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
e2d015a20c
final
2023-07-30 12:27:32 +03:00
42b047a14e
update_settings_from_args
2023-07-30 12:04:57 +03:00
3daf94954a
update_settings_from_args
2023-07-30 11:43:44 +03:00
b564d8ac32
Merge pull request #147 from zmeir/zmeir-align_describe_styling
...
Minor improvements to describe command
2023-07-28 20:55:15 +03:00
ef71a7049e
fix TypeError when iterating discussion_messages
...
When `pr-agent` is reviewing a long list of messages, a TypeError is thrown on the line
```python
for message in reversed(discussion_messages):
```
When reviewing the PyGithub library, the recommend an alternate syntax for iterating a paginated list in reverse.
https://github.com/PyGithub/PyGithub/blob/v1.59.0/github/PaginatedList.py#L122-L125
```
If you want to iterate in reversed order, just do::
for repo in user.get_repos().reversed:
print(repo.name)
```
And here's a copy of the actual traceback
```
Traceback (most recent call last):
File "/app/pr_agent/servers/github_action_runner.py", line 68, in <module>
asyncio.run(run_action())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/pr_agent/servers/github_action_runner.py", line 64, in run_action
await PRAgent().handle_request(pr_url, body)
File "/app/pr_agent/agent/pr_agent.py", line 19, in handle_request
await PRReviewer(pr_url, is_answer=True).review()
File "/app/pr_agent/tools/pr_reviewer.py", line 49, in __init__
answer_str, question_str = self._get_user_answers()
File "/app/pr_agent/tools/pr_reviewer.py", line 253, in _get_user_answers
for message in reversed(discussion_messages):
TypeError: object of type 'PaginatedList' has no len()
```
2023-07-28 11:04:46 +02:00
4664d91844
bug fixes in gitlab code suggestion
2023-07-28 11:24:14 +03:00
8f16c46012
try-except
2023-07-28 10:52:49 +03:00