Commit graph

2404 commits

Author SHA1 Message Date
Abhinav Kumar
4ab97d8969 fix: correct error handling in should_process_pr_logic to prevent processing on failure 2025-07-09 23:59:07 +05:30
Abhinav Kumar
6057812a20 refactor: improve pull request data extraction and error handling in should_process_pr_logic 2025-07-09 23:52:02 +05:30
Abhinav Kumar
598e2c731b refactor: enhance allow_only_specific_folders logic to check if all changed files are outside allowed folders 2025-07-09 23:44:02 +05:30
Abhinav Kumar
0742d8052f refactor: update comment for allow_only_specific_folders logic in PR processing 2025-07-09 23:39:34 +05:30
Abhinav Kumar
1713cded21 chore: allow_only_specific_folders logic in PR processing 2025-07-09 23:36:16 +05:30
Abhinav Kumar
e7268dd314 fix: error handling in PR processing logic 2025-07-09 16:45:42 +05:30
Abhinav Kumar
50c2578cfd fix: comments 2025-07-09 16:42:29 +05:30
Abhinav Kumar
5a56d11e16 fix: Add ignore logic for Bitbucket Server webhook 2025-07-09 16:37:58 +05:30
Makonike
31e25a5965 refactor(ai_handler): improve streaming response handling robustness 2025-07-09 15:39:15 +08:00
Makonike
85e1e2d4ee feat: add debug logging support for streaming models 2025-07-09 15:29:03 +08:00
Makonike
2d8bee0d6d feat: add validation for empty streaming responses in LiteLLM handler 2025-07-09 15:04:18 +08:00
Abhinav Kumar
e0d7083768 feat: refactor LITELLM.EXTRA_BODY processing into a dedicated method 2025-07-09 12:04:26 +05:30
Tal
5ae6d71c37
Merge pull request #1922 from abhinav-1305/fix-bug
fix: Remove trailing comma in gerrit provider prepare_repo function
2025-07-09 08:41:21 +03:00
Makonike
5e82d0a316 feat: add streaming support for openai/qwq-plus model 2025-07-08 11:51:30 +08:00
Abhinav Kumar
3f632835c5 fix: Remove trailing comma in gerrit provider prepare_repo function 2025-07-07 21:51:35 +05:30
Abhinav Kumar
e2d71acb9d fix: remove comments 2025-07-07 21:27:35 +05:30
Abhinav Kumar
8127d52ab3 fix: security checks 2025-07-07 21:26:13 +05:30
Abhinav Kumar
6a55bbcd23 fix: prevent LITELLM.EXTRA_BODY from overriding existing parameters in LiteLLMAIHandler 2025-07-07 21:20:25 +05:30
Abhinav Kumar
12af211c13 feat: support OpenAI Flex Processing via [litellm] extra_body config 2025-07-07 21:14:45 +05:30
Abhinav Kumar
34594e5436 fix: correct typo in configuration comments 2025-07-07 20:11:10 +05:30
Tal
c3f8ef939c
Merge pull request #1914 from abhinav-1305/fix/gitlab-webhook
apply repository settings before processing push commands in GitLab webhook
2025-07-05 09:08:57 +03:00
Tal
34cc434459
Update gitlab_webhook.py 2025-07-05 09:07:47 +03:00
Tal
a3d52f9cc7
Update pr_agent/servers/gitlab_webhook.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-07-05 09:05:23 +03:00
Abhinav Kumar
23ce79589c
Update pr_agent/settings/pr_description_prompts.toml
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-07-05 11:27:38 +05:30
Abhinav Kumar
3b071ccb4e apply repository settings before processing push commands in GitLab webhook 2025-07-02 19:11:53 +05:30
Abhinav Kumar
aeb1bd8dbc fix suggestions 2025-07-02 18:11:19 +05:30
Abhinav Kumar
df8290a290 add support for PR sequence diagram in description markers 2025-07-02 18:07:54 +05:30
mrT23
f7efa2c7c7
fix: improve indentation handling in code suggestions 2025-07-01 17:10:01 +03:00
Tal
446c1fb49a
Merge pull request #1898 from isExample/feat/ignore-language-framework
feat: support ignoring auto-generated files by language/framework
2025-06-29 10:19:37 +03:00
isExample
bd9ddc8b86 fix: avoid crash when ignore_language_framework is not a list 2025-06-29 02:06:40 +09:00
Tal
dd4fe4dcb4
Merge pull request #1897 from qodo-ai/tr/pr_diagram
feat: enable PR diagram by default and improve mermaid diagram genera…
2025-06-27 11:46:58 +03:00
Tal
1c174f263f
Merge pull request #1892 from dcieslak19973/pr-agent-1886-add-bedrock-llama4-20250622
Add bedrock Llama 4 Scout/Maverick
2025-06-27 11:16:49 +03:00
Tal
f83970bc6b
Merge pull request #1895 from rppavan/main
gemini 2.5 flash/pro GA models
2025-06-26 12:28:20 +03:00
isExample
87a245bf9c fix: support root-level matching for '**/' globs
- generate an additional regex to match root-level files alongside '**/' patterns.
- ensure files in the repo root are correctly excluded from analysis.
2025-06-26 15:26:12 +09:00
isExample
8e210f8ea0 chore: update generated code sources 2025-06-26 13:29:59 +09:00
Tal
9c87056263
Merge pull request #1890 from abishlal/feature/support-tickets-context-in-azdo
Enhance Azure DevOps Integration with Work Item Ticket Retrieval and Comment Thread Updates
2025-06-25 20:40:22 +03:00
abishlal
3251f19a19 fix: change comment thread status to closed when publishing comments
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-25 20:59:34 +05:30
abishlal
299a2c89d1 feat: add tags extraction from work item fields in Azure DevOps provider
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-25 20:57:56 +05:30
isExample
c7241ca093 feat: support ignore_language_framework via generated_code_ignore.toml
- [generated_code] table defines default glob patterns for code-generation tools
- merge generated_code globs into ignore logic
2025-06-25 23:39:14 +09:00
isExample
1a00e61239 feat: add configuration property 'ignore_language_framework' 2025-06-25 23:17:42 +09:00
mrT23
ead2c9273f
feat: enable PR diagram by default and improve mermaid diagram generation 2025-06-24 17:28:23 +03:00
Pavan Parwatikar
2d61ff7b88
gemini 2.5 slash/pro GA models
Adding stable/GA models of gemini-2.5 models.
Added gemini-2.5-pro and gemini-2.5-flash both to vertex_ai and gemini configs
2025-06-24 11:06:01 +05:30
dcieslak19973
849cb2ea5a Change token limit to 128k for Bedrock Llama 2025-06-22 14:36:41 -05:00
mrT23
ab80677e3a
Merge remote-tracking branch 'origin/main' 2025-06-22 21:16:00 +03:00
mrT23
bd7017d630
bitbucket json 2025-06-22 21:15:45 +03:00
dcieslak19973
22c16f586b Add bedrock Llama 4 Scout/Maverick 2025-06-22 11:05:08 -05:00
Alessio
bc99cf83dd
feat: add a bare except to catch all errors 2025-06-21 15:34:02 +03:00
Alessio
d00cbd4da7
Revert "fix: do not fail the CLI when GitLab API return 5xx code"
This reverts commit 68f78e1a30.
2025-06-21 15:28:27 +03:00
Alessio
721ff18a63
Revert "fix: wrap _handle_request to handle 5xx responses"
This reverts commit 1a003fe4d3.
2025-06-21 15:27:41 +03:00
Alessio
1a003fe4d3
fix: wrap _handle_request to handle 5xx responses 2025-06-21 15:26:48 +03:00
Alessio
68f78e1a30
fix: do not fail the CLI when GitLab API return 5xx code 2025-06-21 15:26:48 +03:00
abishlal
7759d1d3fc fix: remove redundant state and labels fields from ticket data extraction
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-21 17:31:24 +05:30
abishlal
738f9856a4 feat: add WorkItemTrackingClient to Azure DevOps provider and update client return type
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-21 17:28:59 +05:30
abishlal
fbce8cd2f5 fix: update comment thread status to active when publishing comments
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-21 17:22:24 +05:30
abishlal
ea63c8e63a fix: remove redundant line for BasicAuthentication in Azure DevOps provider
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-21 17:22:04 +05:30
abishlal
d8fea6afc4 feat: enhance Azure DevOps integration by adding work item as a ticket retrieval methods - Supporting ticket context for Azure DevOps
Signed-off-by: abishlal <abishlalns03@gmail.com>
2025-06-21 17:20:31 +05:30
mrT23
eb4cdbb115
fix: remove branch parameter from get_content_of_file call in bitbucket server provider 2025-06-21 12:34:00 +03:00
Tal
7f54b14b4d
Merge pull request #1874 from yoohya/feat/support-gitlab-lambda-webhooks
feat: Support GitLab webhooks in Lambda functions
2025-06-21 09:36:16 +03:00
mrT23
938ab9a139
fix: remove redundant word 'possible' from security concerns field description 2025-06-21 09:31:55 +03:00
Tal
ee36c0208c
Update pr_agent/settings/pr_reviewer_prompts.toml
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-06-21 09:23:11 +03:00
mrT23
7c02678ba5
refactor: extract TODO formatting functions and simplify data structure 2025-06-21 09:20:43 +03:00
mrT23
37ef4bad8f
docs: add bullet point formatting instruction to PR description prompts 2025-06-20 16:27:43 +03:00
yoohya
ab7e0d9141 refactor: split serverless handlers into dedicated GitHub and GitLab Lambda entrypoints 2025-06-20 04:18:42 +09: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
dst03106
4a00854b15 fix: exclude TODO prompt if require_todo_scan is false 2025-06-18 18:50:11 +09:00
Judy
d4a52ffc93 refactor: clarify TODO field description and simplify 'No' return 2025-06-18 18:45:49 +09:00
dst03106
c4ccfd865d fix: shorten todo summary prompt for balance
related comment: https://github.com/qodo-ai/pr-agent/pull/1869#discussion_r2151443243
2025-06-18 18:45:49 +09:00
dst03106
38f10e10fa style: remove entry info from the todo section header
related comment: https://github.com/qodo-ai/pr-agent/pull/1869#issuecomment-2979088345
2025-06-18 18:45:49 +09:00
mrT23
2cfe52e294
refactor: replace DynaBox import with string type checking 2025-06-18 10:04:51 +03:00
Judy
8325a8aeb1 feat: improve TODO sections closed by default 2025-06-18 13:48:51 +09:00
Judy
081310b943 style: refine layout of TODO section (add <br><br>) 2025-06-18 13:08:05 +09:00
Judy
c75fb2137b style: replace todo emoji with 📝 2025-06-18 13:04:14 +09:00
Yaara
4662f65146
Update github_action_runner.py
9789e5d701/pr_agent/agent/pr_agent.py (L84)
2025-06-17 19:04:03 +01:00
Alessio
5b7f8a4bb6
fix: grammar 2025-06-17 09:52:34 +03:00
Alessio
608065f2ad
fix: typos 2025-06-17 09:26:57 +03:00
Alessio
7ee4c4aad1
fix: yes/no spelling 2025-06-17 09:13:12 +03:00
Tal
1c5f203b52
Merge pull request #1871 from smallfish06/main
Add language-specific instructions to extra instructions based on user settings
2025-06-17 08:34:21 +03:00
Tal
d4e8f618ce
Update pr_agent/servers/github_action_runner.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
2025-06-17 08:34:07 +03:00
Tal
b7b4d00f57
Merge pull request #1868 from NicoFgrx/main
feat: support self-signed gitea cert
2025-06-17 08:21:40 +03:00
seokcheon.ju
f39e0a13f4 Revert linted line breaks 2025-06-16 10:56:24 +09:00
seokcheon.ju
5d721376fe Move language-specific instructions to github_action_runner.py 2025-06-16 10:53:38 +09:00
yoohya
99904601ce feat: Support GitLab webhooks in Lambda functions 2025-06-16 01:22:01 +09:00
seokcheon.ju
9b19935f47
Add language-specific instructions to extra instructions based on user settings 2025-06-13 19:42:14 +09:00
Alessio
3b42b0e152
refactor: simplify IF/ELSE block 2025-06-12 18:15:46 +03:00
Alessio
94253853cd
refactor: reuse IF condition in _should_publish_review 2025-06-12 17:54:13 +03:00
Alessio
e8770beba1
fix: correct IF/ELSE block 2025-06-12 17:35:33 +03:00
Alessio
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
nicolas
3faab424a4
feat: support self-signed gitea cert 2025-06-12 16:01:26 +02:00
Judy
7a0c350760 feat: Change default TODO flag value from true to false 2025-06-12 18:14:19 +09:00
César Pérez
d812b7ed7e Fixed comment 5 2025-06-11 11:26:49 +02:00
Judy
ca05b798ca fix: display no TODO comments section 2025-06-10 22:56:28 +09:00
dst03106
f09e1edb13 refactor: remove count info from todo summary 2025-06-09 22:26:37 +09:00
dst03106
9230be86e9 refactor: handle singular/plural forms of entry 2025-06-09 21:40:33 +09:00
dst03106
6c05c6685e fix: use | for multiline in YAML instead of \n for todo content prompts 2025-06-09 20:54:14 +09:00
César Pérez
3904743e85 Fixed comment 4 2025-06-07 21:13:16 +02:00
César Pérez
fe9afb826d Fixed comment 3 2025-06-07 21:09:38 +02:00
César Pérez
a550c17466 Fixed comment 2 2025-06-07 21:06:12 +02:00
César Pérez
04cb8af65d Fixed comment 1 2025-06-07 21:02:56 +02:00
César Pérez
122248ef9c Add GitLab support for CHANGELOG.md 2025-06-07 20:48:33 +02:00
dst03106
277c6abf0f refactor: standardizes todo_sections and todos_summary formatting 2025-06-07 08:42:28 +09:00
dst03106
829417ce6e feat: toggle open or closed based on line count for todo section 2025-06-07 08:42:19 +09:00
Tal
4c006eba47
Merge pull request #1851 from kebhr/feature/support_cross_region_for_apac
chore: add APAC region endpoints for Bedrock Anthropic Claude models
2025-06-05 20:52:27 +03:00
Tal
3b84203d4c
Merge pull request #1852 from SCREEN88/fix/gitea-get-file-content-error
Fix gitea get file content error
2025-06-05 20:51:13 +03:00
Peter Dave Hello
fa435cfc1e Add Google Gemini 2.5 Pro Preview 06-05
Reference:
- https://blog.google/products/gemini/gemini-2-5-pro-latest-preview
2025-06-06 01:17:27 +08:00
dst03106
dc9e9af9f8 refactor: rename file line to file reference 2025-06-05 22:26:03 +09:00
y.marinov
37781c59e7 Add forgejo statuses check in gitea get_diff_files method 2025-06-05 16:02:55 +03:00
y.marinov
865798ef3f Fix wrong parameters for gitea get_file_content method 2025-06-05 16:01:18 +03:00
kebhr
c190b93c4f chore: add APAC region endpoints for Bedrock Anthropic Claude models 2025-06-05 19:37:46 +09:00
Hussam Lawen
ac72d6f6c2
Update atlassian-connect.json 2025-06-05 10:37:51 +03:00
dst03106
d8fb24c971 refactor: remove unused HTML formatting function from utils 2025-06-04 20:18:46 +09:00
dst03106
3f9cade14d feat: add todos_summary to review output in markdown conversion 2025-06-04 20:18:46 +09:00
Tomoya Kawaguchi
c520a8658f
chore: update secret more robustly
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-06-02 13:48:47 +09:00
Tomoya Kawaguchi
e2867f3a19
chore: get settings more safer
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-06-02 13:48:16 +09:00
dst03106
520faa7f2c feat: include item count in TODO sections summary 2025-06-01 00:36:25 +09:00
tomoya-kawaguchi
cc1b1871d0 fix: raise Exception when arn does not exist 2025-05-29 14:06:21 +09:00
tomoya-kawaguchi
984d627300 fix: rm invalid error handling 2025-05-29 14:03:38 +09:00
tomoya-kawaguchi
32b1fb91c3 chore: add comments 2025-05-29 13:17:31 +09:00
tomoya-kawaguchi
5e535a8868 chore: add blank 2025-05-29 13:05:40 +09:00
tomoya-kawaguchi
cd96f6b911 chore: organize comments 2025-05-29 13:03:21 +09:00
tomoya-kawaguchi
1955157e9a feat: add AWS Secrets Manager Integration 2025-05-29 12:42:05 +09:00
Judy
8c7c087931 feat: TODO multi-line 2025-05-28 21:33:28 +09:00
Tal
d5f77560e3
Merge pull request #1811 from loolootech/feature/gitea-implement
[Feature] - Gitea implement
2025-05-28 08:22:16 +03:00
Tal
6f27fc9271
Merge pull request #1828 from Akileox/refactor-langchain-handler
Refactor: Enhance AI Handler Robustness, Interface Compliance, and Asynchronous Operations (Resolves #1784)
2025-05-28 08:20:04 +03:00
Judy
53b913a4cb refactor: add TypedDict and type hints to todo item formatter 2025-05-27 17:52:36 +09:00
Judy
7d38814cae refactor: Change error messsage 'print' -> 'get_logger' 2025-05-27 16:51:38 +09:00
Judy
08440d8ebd feat: Add <details> to TODO sections 2025-05-27 16:19:19 +09:00
Judy
bab8ee9633 modify: ToDo -> TODO 2025-05-27 16:08:33 +09:00
Akileo
e8ace9fcf9 change type check and remove useless sync 2025-05-26 14:52:45 +09:00
Tal
a128db8393
Merge pull request #1822 from PeterDaveHelloKitchen/Gemini-2.5-Flash
Complete Gemini 2.5 Flash model info
2025-05-26 07:48:33 +03:00
Pinyoo Thotaboot
b18a509120 Use current 2025-05-26 11:44:39 +07:00
Pinyoo Thotaboot
6063bf5978 Check is tempolary before remove it 2025-05-26 11:42:09 +07:00
Pinyoo Thotaboot
5d105c64d2 Rename & Return comment object after published 2025-05-26 11:40:29 +07:00
Pinyoo Thotaboot
f06ee951d7 Change raise runtime error 2025-05-26 11:36:49 +07:00
Pinyoo Thotaboot
b264f42e3d Fixed handle verify signature when has failed 2025-05-26 11:31:40 +07:00
Pinyoo Thotaboot
a975b32376 Get empty content when exception 2025-05-26 11:26:16 +07:00
Pinyoo Thotaboot
5e9c56b96c Remove the unnecessary flag '--pr_description.final_update_message=false' 2025-05-26 11:05:58 +07:00
Pinyoo Thotaboot
f78762cf2e Change the default value of is 2025-05-26 11:04:11 +07:00
Pinyoo Thotaboot
4a019ba7c4 Merge branch 'main' of github.com:qodo-ai/pr-agent into feature/gitea-implement 2025-05-26 10:59:19 +07:00
mrT23
16d980ec76
fix: update Mermaid diagram instructions for clarity and consistency 2025-05-25 15:38:08 +03:00
mrT23
2eeb9b0411
fix: improve Mermaid diagram formatting and instructions in PR description template 2025-05-25 14:59:18 +03:00
mrT23
f3cb4e8384
fix: ensure proper formatting of changes_diagram in PR description output 2025-05-25 14:32:12 +03:00
Tal
946657a6d1
Merge pull request #1824 from OSSCA-2025-Egg-Benedict/feature/sequence-diagram
Improve/describe tool documentation and make add_diagram feature opt-in by default
2025-05-25 13:44:53 +03:00
chilln
d5dead5c7f refactor: moved diagram logic to 'changes_diagram' in PRDescription and updated prompt for clarity 2025-05-25 18:37:28 +09:00
chilln
6aac41a0df refactor:rename to 2025-05-25 18:27:03 +09:00
Tal
2453508023
Merge pull request #1805 from group-3-sPRinter/improve/token_handler
Refactor count_tokens method structure in token_handler.py for better extensibility
2025-05-25 12:11:41 +03:00
kkan9ma
84f2f4fe3d Fix: use ModelTypeValidator static methods directly 2025-05-25 18:00:38 +09:00
Akileo
ff52ae9281 add img_path and _create_chat_async 2025-05-25 15:34:50 +09:00
Akileo
d791e9f3d1 Fix: Improve langchain import error handling and add img_path to handler
Addresses issue #1784:
- Raises ImportError if langchain is not installed when LangChainOpenAIHandler is initialized.
- Adds img_path parameter to LangChainOpenAIHandler.chat_completion for interface consistency.
- Logs a warning if img_path is used with LangChainOpenAIHandler.
2025-05-25 15:28:18 +09:00
mrT23
18a8a741fa
ensure_ticket_compliance 2025-05-25 08:31:24 +03:00