Commit Graph

677 Commits

Author SHA1 Message Date
7c02678ba5 refactor: extract TODO formatting functions and simplify data structure 2025-06-21 09:20:43 +03:00
Tal
7db4d97fc2 Merge pull request #1880 from alessio-locatelli/fix_yes_no
fix: typos, grammar
2025-06-18 20:22:02 +03:00
Tal
3e1cf2deed Merge pull request #1869 from PullPullers/feat/review-todo-section
feat: surface TODO comments in review tool
2025-06-18 20:15:43 +03:00
608065f2ad fix: typos 2025-06-17 09:26:57 +03:00
3b42b0e152 refactor: simplify IF/ELSE block 2025-06-12 18:15:46 +03:00
94253853cd refactor: reuse IF condition in _should_publish_review 2025-06-12 17:54:13 +03:00
e8770beba1 fix: correct IF/ELSE block 2025-06-12 17:35:33 +03:00
8d2e92fe83 feat: support 'publish_output_no_suggestions' by 'pr_reviewer'
The tool reuses the existing variable name.
The change is non-breaking because by default it keeps the old behavior.
2025-06-12 17:35:33 +03:00
3904743e85 Fixed comment 4 2025-06-07 21:13:16 +02:00
122248ef9c Add GitLab support for CHANGELOG.md 2025-06-07 20:48:33 +02:00
f3cb4e8384 fix: ensure proper formatting of changes_diagram in PR description output 2025-05-25 14:32:12 +03:00
d5dead5c7f refactor: moved diagram logic to 'changes_diagram' in PRDescription and updated prompt for clarity 2025-05-25 18:37:28 +09:00
e57d3101e4 fix:set parameter default to false to make the feature opt-in by design 2025-05-25 12:48:29 +09:00
f58c40a6ae refactor: replace single quotes with double quotes to match existing code style 2025-05-25 12:48:13 +09:00
5a0affd6cb feat: add add_diagram configuration option to PR description 2025-05-25 11:08:52 +09:00
788c0c12e6 feat: add TODO comments to PR review output 2025-05-24 01:52:52 +09:00
Tal
199b463eaa Merge pull request #1798 from seohyun-lee/docs/usage-guide
Correct typos in documentation and log messages
2025-05-21 07:38:22 +03:00
94aa8e8638 refactor: Correct case typo in log 2025-05-20 02:30:17 +09:00
f5a069d6b4 refactor: Align comment formatting with others 2025-05-20 02:28:43 +09:00
5a8ce252f7 Adding num_max_findings configuration parameter with a default value of 3, to have the possibility to extend it 2025-05-19 16:16:23 +02:00
Tal
bcbb3ac228 Merge pull request #1746 from twdkeule/feature/azure-devops-persistent-comment
Implement Azure Devops persistent comment
2025-05-12 15:56:12 +03:00
c924affebc Azure devops provider: add persistent comment 2025-05-12 08:31:15 +02:00
Tal
850583acb4 Merge pull request #1758 from joosomi/fix/pr-description-type-header
fix: avoid duplicate header for list types to prevent markdown break
2025-05-11 11:06:42 +03:00
57eaba0e75 fix: ensure string conversion for list elements 2025-05-09 21:33:42 +09:00
6062c99c47 fix: avoid duplicate header for list types to prevent markdown break 2025-05-09 21:20:04 +09:00
c357f09967 fix:correct typo in logger parameter from 'artifacts' to 'artifact' 2025-05-09 11:12:04 +09:00
f505c7ad3c Add multi-model support for different reasoning tasks 2025-04-27 11:00:34 +03:00
f53bd524c5 Support multiple model types for different reasoning tasks 2025-04-27 08:50:03 +03:00
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
9906ec3687 Improve conversation history formatting with numbered comments 2025-04-21 17:14:36 +09:00
8b4bf49f1c Improve conversation history handling and prompts for line questions 2025-04-21 16:50:37 +09:00
e11c2e1c7f Reorganize imports according to Python conventions 2025-04-21 16:30:27 +09:00
3d2a285091 Add skip_ci_on_push configuration option for changelog updates 2025-04-15 19:28:36 +03:00
9c06b6b266 Apply PR review feedback: Code style and functionality improvements 2025-04-10 21:56:37 +09:00
c5165d917b refactor: Validate all required parameters before proceeding
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
2025-04-10 19:59:34 +09:00
6bf093a6a1 refactor: Add GitHub provider check for conversation history
Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com>
2025-04-10 19:41:43 +09:00
8952459f6d Update pr_agent/tools/pr_line_questions.py
Co-authored-by: Prateek <110811408+Prateikx@users.noreply.github.com>
2025-04-10 08:48:59 +09:00
b53d2773a9 improve ask_line tool(add conversation history context) 2025-04-09 23:45:04 +09:00
9254225949 fix: add error handling for missing review data in PR reviewer 2025-04-03 13:23:41 +03:00
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
7bd0fefee4 Fix GitLab protections function and return value in PR questions 2025-03-29 19:53:46 +03:00
7d47bd5f5e Add GitLab protections to prevent quick actions in PR questions 2025-03-29 19:35:39 +03:00
ddf94c14a3 Add configuration option for PR Code Suggestions to control publishing when no suggestions found 2025-03-29 09:33:31 +03:00
991a866368 documents' link generation: Make sure prefix ends with '/' 2025-03-26 21:58:15 +02:00
88a17848eb - Documentation
- Better error handling in case could not deduce repo url
2025-03-23 20:04:33 +02:00
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
5e7e353670 Added help_docs feature. 2025-03-20 23:48:01 +02:00
1724a65ab2 docs: remove similar issues tool from documentation 2025-03-16 08:58:02 +02:00
507cd6e675 skip in PR config 2025-03-15 09:56:57 +02:00
d16012a568 Add decoupled and non-decoupled modes for code suggestions 2025-03-11 16:46:53 +02:00