7760f37dee
Merge pull request #185 from zmeir/zmeir-fix_inline_comment_position
...
Attempt to fix bug in create_inline_comment
2023-08-07 20:41:52 +03:00
ebbe655c40
Don't commment on Github, only eyes reaction
2023-08-07 18:09:39 +03:00
164ed77d72
Attempt to fix bug in create_inline_comment
2023-08-07 17:09:50 +03:00
b1148e5f7a
Don't commment on Github, only eyes reaction
2023-08-07 16:34:28 +03:00
a75253097b
Don't remove eyes
2023-08-07 16:28:20 +03:00
886139c6b5
Support adding / removing reaction from comments in GitHub different servers
2023-08-07 16:18:08 +03:00
8f751f7371
Default timeout for AI is now 180s, configurable
2023-08-07 13:26:28 +03:00
a00038fbd8
Merge remote-tracking branch 'origin/main' into patch-1
2023-08-06 18:09:09 +03:00
703215fe83
updating secrets template
2023-08-05 22:53:59 -07:00
0f975ccf4a
bug fixes
2023-08-05 22:50:41 -07:00
7367c62cf9
TestFindLineNumberOfRelevantLineInFile
2023-08-06 08:31:15 +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
0e3dbbd0f2
fix major bug in gitlab
2023-08-03 22:51:38 +03:00
7a57db5d88
load_large_diff is done once
2023-08-03 22:14:05 +03:00
102edcdcf1
adding support for Anthropic, Cohere, Replicate, Azure
2023-08-03 12:04:08 -07:00
c92648cbd5
caching
2023-08-03 21:38:18 +03:00
26b008565b
Merge pull request #170 from Codium-ai/tr/edge_case_for_hunks
...
Handling edge case for hunks in git patch processing
2023-08-03 12:11:27 +03:00
0dec24aa37
edge case for hunks
2023-08-03 10:50:22 +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
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
696e2bd6ff
Support repo-specific configuration file
2023-08-01 17:27:25 +03:00
450f410e3c
Support repo-specific configuration file
2023-08-01 17:22:03 +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
dfb73c963a
get_commit_messages for gitlab
2023-08-01 15:30:14 +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
6605f9c444
typos in 'commands_text'
2023-07-31 11:02:30 +03:00
e2d015a20c
final
2023-07-30 12:27:32 +03:00
a6ba8b614a
Example args
2023-07-30 12:16:43 +03:00
4f0fabd2ca
update_settings_from_args refactor
2023-07-30 12:14:26 +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
6fde87b3bd
Merge pull request #152 from Codium-ai/tr/gitlab_fixes
...
Improvements and Error Handling for GitLab Provider
2023-07-28 11:40:53 +03:00
63a703c000
Handle marketplace hook
2023-07-28 11:30:51 +03: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
a8780f722d
Handle marketplace hook
2023-07-28 03:22:25 +03:00
1a8fce1505
Updated handling of installation id
2023-07-28 02:44:28 +03:00
42388b1f8d
Merge pull request #146 from idavidov/idsvidov/gitlabpaginator_fix
...
Fix for GitLab Paginator in GitLab Provider
2023-07-28 02:01:04 +03:00
0167003bbc
handle no diffs
2023-07-28 01:59:10 +03:00
4aa54b9bd4
Add /describe -c option
2023-07-27 17:42:50 +03:00
c6d0bacc08
Match styling of both /describe modes
2023-07-27 17:31:31 +03:00
99ed9b22a1
latest documentation suggest get_all not all
...
https://python-gitlab.readthedocs.io/en/stable/api-usage.html#pagination
2023-07-27 15:39:19 +03:00