Commit graph

478 commits

Author SHA1 Message Date
Seohyun Lee
4679dce3af refactor: Correct case typo of PR in log 2025-05-20 02:31:48 +09:00
Sangmin Park
a3c9fbbf2c revert try except 2025-05-15 19:40:40 +09:00
Sangmin Park
e55fd64bda Remove unnecessary nested try-except block for cleaner code. Streamlined the import statement to remove an unused reference to get_git_provider. 2025-05-15 18:41:39 +09:00
Thomas De Keulenaer
954d61e5dc Azure: refactor publish_code_suggestions() to use azure classes 2025-05-12 09:00:36 +02:00
Thomas De Keulenaer
24a90cab8e Azure: handle inline /ask 2025-05-12 09:00:17 +02:00
Thomas De Keulenaer
67272700a6 Azure: handle line comments 2025-05-12 08:31:15 +02:00
Thomas De Keulenaer
3a07b55d0c Azure: dont start threads as active because they block the pull request 2025-05-12 08:31:15 +02:00
Thomas De Keulenaer
c924affebc Azure devops provider: add persistent comment 2025-05-12 08:31:15 +02:00
Thomas De Keulenaer
e516d66c1c Azure: return Comment object when creating comment 2025-05-12 08:31:15 +02:00
Thomas De Keulenaer
df1d859e54 Azure devops: parse PR url starting from the end 2025-05-06 15:01:48 +02:00
yuli.kamakura
4ad43c48e5 Fix type hint for get_pr_description method and clean up whitespace 2025-04-28 17:59:09 +08:00
ofir-frd
dedad94a20 Fix code indentation in get_review_thread_comments method 2025-04-24 09:34:51 +03:00
ofir-frd
5d5b57255e
Merge pull request #1687 from benedict-lee/feat/add-conversation-history-on-line-question
Improvement: Enhance ask_line tool by adding PR review comment threads as context
2025-04-24 09:32:43 +03:00
Benedict Lee
c35942c12b
mprove get_review_thread_comments method implementation
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
2025-04-24 11:23:16 +09:00
Benedict Lee
ddb94ec9b4
mprove get_review_thread_comments method implementation
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
2025-04-24 11:22:43 +09:00
Benedict Lee
29d4fe510e
Improve get_review_thread_comments method implementation
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
2025-04-24 11:21:49 +09:00
benedict.lee
a434d0af9b Improve comment thread retrieval by using in_reply_to_id instead of line numbers 2025-04-21 16:28:42 +09:00
mrT23
8bdd11646c
Fix token assignment in Bitbucket provider authentication 2025-04-12 10:07:45 +03:00
Tal
a649e323d3
Merge pull request #1683 from wirelessr/feat/issue-1681
Support Bitbucket Basic Auth
2025-04-11 14:37:56 +03:00
Chunting Wu
7a32faf64f Fix Bearer backward compatibility logic 2025-04-11 17:44:46 +08:00
Chunting Wu
5f2d4d400e Extract repeated token retrieval logic into a helper function to reduce code duplication 2025-04-11 16:20:28 +08:00
ChunTing Wu
0cbf65dab6
Update pr_agent/git_providers/bitbucket_provider.py
Co-authored-by: Prateek <110811408+Prateikx@users.noreply.github.com>
2025-04-11 14:59:27 +08:00
ChunTing Wu
c0c307503f
Update pr_agent/git_providers/bitbucket_provider.py
Co-authored-by: Prateek <110811408+Prateikx@users.noreply.github.com>
2025-04-11 14:55:06 +08:00
benedict.lee
9c06b6b266 Apply PR review feedback: Code style and functionality improvements 2025-04-10 21:56:37 +09:00
benedict.lee
b53d2773a9 improve ask_line tool(add conversation history context) 2025-04-09 23:45:04 +09:00
mrT23
cdc354c33b
disable dynamic variables 2025-04-08 21:07:45 +03:00
CT Wu
ca95e876eb Enhance Bitbucket provider functionality and update secret configuration template. 2025-04-08 17:52:52 +08:00
sharoneyal
14971c4f5f
Add support for documentation content exceeding token limits (#1670)
* - Add support for documentation content exceeding token limits via two phase operation:
1. Ask LLM to rank headings which are most likely to contain an answer to a user question
2. Provide the corresponding files for the LLM to search for an answer.

- Refactor of help_docs to make the code more readable
- For the purpose of getting canonical path: git providers to use default branch and not the PR's source branch.
- Refactor of token counting and making it clear on when an estimate factor will be used.

* Code review changes:
1. Correctly handle exception during retry_with_fallback_models (to allow fallback model to run in case of failure)
2. Better naming for default_branch in bitbucket cloud provider
2025-04-03 11:51:26 +03:00
mrT23
02d9aed7fe
Fix GitLab provider to use default branch instead of target branch for repo settings 2025-03-29 19:39:56 +03:00
Eyal Sharon
e422f50cfe Fix for bug in get_canonical_url_parts when a new issue created, without git url provided. 2025-03-27 17:29:02 +02:00
Eyal Sharon
255e1d0fc1 Missing class member 2025-03-26 14:29:50 +02:00
Eyal Sharon
7117e9fe0e Github Provider: Support publishing a comment on a non pr issue 2025-03-26 13:36:37 +02:00
Eyal Sharon
605eef64e7 Generate git url correctly in case invoked from both user and GitHub app contexts 2025-03-25 12:08:00 +02:00
Eyal Sharon
b161672218 Remove redundant abstractmethod for _prepare_clone_url_with_token 2025-03-24 15:56:45 +02:00
Eyal Sharon
fb324d106c Remove non implemented method _prepare_clone_url_with_token from providers which don't support it and instead, issue a warning in base class. 2025-03-24 14:06:06 +02:00
Eyal Sharon
a4387b5829 Fix more /improve suggestions 2025-03-24 11:19:23 +02:00
Eyal Sharon
477ebf4926 Code recommendations from /improve 2025-03-24 10:54:50 +02:00
Eyal Sharon
e14fc7e02d Fix missing self.bearer_token for bitbucket related providers 2025-03-24 10:21:23 +02:00
Eyal Sharon
1bd65934df Merge origin/main into es/help_docs 2025-03-23 20:04:58 +02:00
Eyal Sharon
dd80276f3f Support cloning repo
Support forcing accurate token calculation (claude)
Help docs: Add desired branch in case of user supplied git repo, with default set to "main"
Better documentation for getting canonical url parts
2025-03-23 09:55:58 +02:00
cdornano
e925f31ac0
Update azuredevops_provider.py
Will make qodo agent comments "Active" by default, and not "ByDesign" which is renders to "unknown" on Azure DevOps PRs. With this, PR authors are obliged to treat the PR comment of the qodo agent before Merging. This will help companies in analysing the impact of qodo agent on their PR, as every comment needs to be treated as either "Resolved" "Won't fix" "Close"
2025-03-21 12:57:03 +00:00
Eyal Sharon
5e7e353670 Added help_docs feature. 2025-03-20 23:48:01 +02:00
mrT23
9a9acef0e8
fix: handle empty commits and errors in GitLab provider's get_latest_commit_url 2025-02-26 21:24:53 +02:00
Hussam.lawen
0a4c02c8b3
feat: enhance Azure DevOps integration with improved error handling and PR commands 2025-02-26 16:40:46 +02:00
Hussam Lawen
d91245a9d3
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:12:49 +02:00
Hussam Lawen
bfdaac0a05
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:11:25 +02:00
Wonchae Lee
56978d9793
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:29 -05:00
Wonchae Lee
6433e827f4
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:22 -05:00
Wonchae Lee
c0e78ba522
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:14 -05:00
Wonchae Lee
45d776a1f7
Update pr_agent/git_providers/github_provider.py
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:06 -05:00