From ae375c2ff0ef25f609e48531763ee5d3d1ddc1a0 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 13:01:55 +0200 Subject: [PATCH 01/11] final fixes --- Usage.md | 20 +++++++++------ pr_agent/servers/github_action_runner.py | 32 ------------------------ 2 files changed, 13 insertions(+), 39 deletions(-) diff --git a/Usage.md b/Usage.md index fc5d7b3b..60991e0d 100644 --- a/Usage.md +++ b/Usage.md @@ -159,21 +159,27 @@ user=""" Note that the new prompt will need to generate an output compatible with the relevant [post-process function](./pr_agent/tools/pr_description.py#L137). ### Working with GitHub Action -You can configure settings in GitHub action by adding environment variables under the env section in `.github/workflows/pr_agent.yml` file. Some examples: +You can configure settings in GitHub action by adding environment variables under the env section in `.github/workflows/pr_agent.yml` file. +Specifically, you need to set the following environment variables: ```yaml env: - # ... previous environment values - OPENAI.ORG: "" - PR_REVIEWER.REQUIRE_TESTS_REVIEW: "false" # Disable tests review - PR_CODE_SUGGESTIONS.NUM_CODE_SUGGESTIONS: 6 # Increase number of code suggestions + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # or give directly your key + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # or give directly your token github_action.auto_review: "true" # Enable auto review github_action.auto_describe: "true" # Enable auto describe github_action.auto_improve: "false" # Disable auto improve ``` -specifically, `github_action.auto_review`, `github_action.auto_describe` and `github_action.auto_improve` are used to enable/disable automatic tools that run when a new PR is opened. - +`github_action.auto_review`, `github_action.auto_describe` and `github_action.auto_improve` are used to enable/disable automatic tools that run when a new PR is opened. If not set, the default option is that only the `review` tool will run automatically when a new PR is opened. +Note that you can give additional config parameters by adding environment variables to `.github/workflows/pr_agent.yml`, or by using a `.pr_agent.toml` file in the root of your repo, similar to the GitHub App usage. +For example, you can set an environment variable: `pr_description.add_original_user_description=false`, or add a `.pr_agent.toml` file with the following content: +``` +[pr_description] +add_original_user_description = false +``` + + ### Changing a model See [here](pr_agent/algo/__init__.py) for the list of available models. diff --git a/pr_agent/servers/github_action_runner.py b/pr_agent/servers/github_action_runner.py index 0d02b3b3..4d35abff 100644 --- a/pr_agent/servers/github_action_runner.py +++ b/pr_agent/servers/github_action_runner.py @@ -19,10 +19,6 @@ async def run_action(): OPENAI_KEY = os.environ.get('OPENAI_KEY') or os.environ.get('OPENAI.KEY') OPENAI_ORG = os.environ.get('OPENAI_ORG') or os.environ.get('OPENAI.ORG') GITHUB_TOKEN = os.environ.get('GITHUB_TOKEN') - CUSTOM_LABELS = os.environ.get('CUSTOM_LABELS') - CUSTOM_LABELS_DESCRIPTIONS = os.environ.get('CUSTOM_LABELS_DESCRIPTIONS') - # CUSTOM_LABELS is a comma separated list of labels (string), convert to list and strip spaces - get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False) # Check if required environment variables are set @@ -38,7 +34,6 @@ async def run_action(): if not GITHUB_TOKEN: print("GITHUB_TOKEN not set") return - # CUSTOM_LABELS_DICT = handle_custom_labels(CUSTOM_LABELS, CUSTOM_LABELS_DESCRIPTIONS) # Set the environment variables in the settings get_settings().set("OPENAI.KEY", OPENAI_KEY) @@ -46,7 +41,6 @@ async def run_action(): get_settings().set("OPENAI.ORG", OPENAI_ORG) get_settings().set("GITHUB.USER_TOKEN", GITHUB_TOKEN) get_settings().set("GITHUB.DEPLOYMENT_TYPE", "user") - # get_settings().set("CUSTOM_LABELS", CUSTOM_LABELS_DICT) # Load the event payload try: @@ -104,31 +98,5 @@ async def run_action(): await PRAgent().handle_request(url, body) -def handle_custom_labels(CUSTOM_LABELS, CUSTOM_LABELS_DESCRIPTIONS): - if CUSTOM_LABELS: - CUSTOM_LABELS = [x.strip() for x in CUSTOM_LABELS.split(',')] - else: - # Set default labels - CUSTOM_LABELS = ['Bug fix', 'Tests', 'Bug fix with tests', 'Refactoring', 'Enhancement', 'Documentation', - 'Other'] - print(f"Using default labels: {CUSTOM_LABELS}") - if CUSTOM_LABELS_DESCRIPTIONS: - CUSTOM_LABELS_DESCRIPTIONS = [x.strip() for x in CUSTOM_LABELS_DESCRIPTIONS.split(',')] - else: - # Set default labels - CUSTOM_LABELS_DESCRIPTIONS = ['Fixes a bug in the code', 'Adds or modifies tests', - 'Fixes a bug in the code and adds or modifies tests', - 'Refactors the code without changing its functionality', - 'Adds new features or functionality', - 'Adds or modifies documentation', - 'Other changes that do not fit in any of the above categories'] - print(f"Using default labels: {CUSTOM_LABELS_DESCRIPTIONS}") - # create a dictionary of labels and descriptions - CUSTOM_LABELS_DICT = dict() - for i in range(len(CUSTOM_LABELS)): - CUSTOM_LABELS_DICT[CUSTOM_LABELS[i]] = {'description': CUSTOM_LABELS_DESCRIPTIONS[i]} - return CUSTOM_LABELS_DICT - - if __name__ == '__main__': asyncio.run(run_action()) \ No newline at end of file From 055b5ea70005962d16fcca5003ed14b190b69909 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 13:03:12 +0200 Subject: [PATCH 02/11] final fixes --- Usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Usage.md b/Usage.md index 60991e0d..6963fe36 100644 --- a/Usage.md +++ b/Usage.md @@ -160,7 +160,7 @@ Note that the new prompt will need to generate an output compatible with the rel ### Working with GitHub Action You can configure settings in GitHub action by adding environment variables under the env section in `.github/workflows/pr_agent.yml` file. -Specifically, you need to set the following environment variables: +Specifically, should set the following environment variables: ```yaml env: OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # or give directly your key From 72d5e4748e8b0c41807125c662cc16bb70b2cb87 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 13:05:15 +0200 Subject: [PATCH 03/11] final fixes --- Usage.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Usage.md b/Usage.md index 6963fe36..8187718d 100644 --- a/Usage.md +++ b/Usage.md @@ -163,8 +163,8 @@ You can configure settings in GitHub action by adding environment variables unde Specifically, should set the following environment variables: ```yaml env: - OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # or give directly your key - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # or give directly your token + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # Make sure to add your OpenAI key to your repo secrets + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Make sure to add your GitHub token to your repo secrets github_action.auto_review: "true" # Enable auto review github_action.auto_describe: "true" # Enable auto describe github_action.auto_improve: "false" # Disable auto improve @@ -173,6 +173,7 @@ Specifically, should set the following environment variables: If not set, the default option is that only the `review` tool will run automatically when a new PR is opened. Note that you can give additional config parameters by adding environment variables to `.github/workflows/pr_agent.yml`, or by using a `.pr_agent.toml` file in the root of your repo, similar to the GitHub App usage. + For example, you can set an environment variable: `pr_description.add_original_user_description=false`, or add a `.pr_agent.toml` file with the following content: ``` [pr_description] From afa78ed3fbc2113e2ed8d6f0581cdda3b3bc8551 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 13:07:22 +0200 Subject: [PATCH 04/11] final fixes --- Usage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Usage.md b/Usage.md index 8187718d..95b52b57 100644 --- a/Usage.md +++ b/Usage.md @@ -160,14 +160,14 @@ Note that the new prompt will need to generate an output compatible with the rel ### Working with GitHub Action You can configure settings in GitHub action by adding environment variables under the env section in `.github/workflows/pr_agent.yml` file. -Specifically, should set the following environment variables: +Specifically, start by setting the following environment variables: ```yaml env: OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # Make sure to add your OpenAI key to your repo secrets GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Make sure to add your GitHub token to your repo secrets - github_action.auto_review: "true" # Enable auto review - github_action.auto_describe: "true" # Enable auto describe - github_action.auto_improve: "false" # Disable auto improve + github_action.auto_review: "true" # enable\disable auto review + github_action.auto_describe: "true" # enable\disable auto describe + github_action.auto_improve: "false" # enable\disable auto improve ``` `github_action.auto_review`, `github_action.auto_describe` and `github_action.auto_improve` are used to enable/disable automatic tools that run when a new PR is opened. If not set, the default option is that only the `review` tool will run automatically when a new PR is opened. From e1b51eace71871898d4f84974989621a7cee8e8e Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:37:04 +0200 Subject: [PATCH 05/11] release notes --- RELEASE_NOTES.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 10cf57bd..611665bb 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,25 @@ +## [Version 0.9] - 2023-10-29 +- codiumai/pr-agent:0.9 +- codiumai/pr-agent:0.9-github_app +- codiumai/pr-agent:0.9-bitbucket-app +- codiumai/pr-agent:0.9-gitlab_webhook +- codiumai/pr-agent:0.9-github_polling +- codiumai/pr-agent:0.9-github_action + +### Added::Algo +- New tool `/generate_labels`, and new ability to use customize labels if every tool - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) +- GitHub Action: Can now use a `.pr_agent.toml` file to control configuration (see [Usage Guide](./Usage.md#working-with-github-action)) +- GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)_ +- Support custom domain URLs for azure devOps integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)) + +### Added::Documentation +Significant documentation updates (see [installation guide](https://github.com/Codium-ai/pr-agent/blob/main/INSTALL.md)], [Usage guide](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md), and [tools guide](https://github.com/Codium-ai/pr-agent/blob/main/docs/TOOLS_GUIDE.md)) + +### Fixed +- Fixed support for BitBucket pipeline (see [link](https://github.com/Codium-ai/pr-agent/pull/386)) +- Fixed a bug in `review -i` tool +- Added blacklist for non-Editable file extensions in `add_docs` tool (see [link](https://github.com/Codium-ai/pr-agent/pull/385/)) + ## [Version 0.8] - 2023-09-27 - codiumai/pr-agent:0.8 - codiumai/pr-agent:0.8-github_app From 8d50f2ae82028059050a84fb00b5e35b7238dfff Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:43:45 +0200 Subject: [PATCH 06/11] release notes --- docs/GENERATE_CUSTOM_LABELS.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/GENERATE_CUSTOM_LABELS.md b/docs/GENERATE_CUSTOM_LABELS.md index 596ab5ba..2035b02c 100644 --- a/docs/GENERATE_CUSTOM_LABELS.md +++ b/docs/GENERATE_CUSTOM_LABELS.md @@ -14,10 +14,14 @@ When running the `generate_labels` tool on a PR that includes changes in SQL que ### How to enable custom labels + +Note that in addition to the dedicated tool `generate_labels`, the custom labels will also be used by the `review` and `describe` tools. + #### CLI To enable custom labels, you need to apply the [configuration changes](#configuration-changes) to the [custom_labels file](./../pr_agent/settings/custom_labels.toml): -#### Github Action and Gihub App -To enable custom labels, you need to apply the [configuration changes](#configuration-changes) to the `.pr_agent.toml` file in you repository. + +#### GitHub Action and GitHub App +To enable custom labels, you need to apply the [configuration changes](#configuration-changes) to the local `.pr_agent.toml` file in you repository. #### Configuration changes - Change `enable_custom_labels` to True: This will turn off the default labels and enable the custom labels provided in the custom_labels.toml file. From 27b64fbcafbfea6a9534c7d96cbf17e3eeefa0c7 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:47:46 +0200 Subject: [PATCH 07/11] release notes --- RELEASE_NOTES.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 611665bb..51eafa80 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -7,13 +7,14 @@ - codiumai/pr-agent:0.9-github_action ### Added::Algo -- New tool `/generate_labels`, and new ability to use customize labels if every tool - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) -- GitHub Action: Can now use a `.pr_agent.toml` file to control configuration (see [Usage Guide](./Usage.md#working-with-github-action)) -- GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)_ -- Support custom domain URLs for azure devOps integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)) +- New tool `/generate_labels` - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md) +- New ability to use customize labels on `review` and `describe` tools - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) +- GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)) +- GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)) +- Support custom domain URLs for azure devops integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)) ### Added::Documentation -Significant documentation updates (see [installation guide](https://github.com/Codium-ai/pr-agent/blob/main/INSTALL.md)], [Usage guide](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md), and [tools guide](https://github.com/Codium-ai/pr-agent/blob/main/docs/TOOLS_GUIDE.md)) +Significant documentation updates (see [Installation Guide](https://github.com/Codium-ai/pr-agent/blob/main/INSTALL.md), [Usage Guide](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md), and [Tools Guide](https://github.com/Codium-ai/pr-agent/blob/main/docs/TOOLS_GUIDE.md)) ### Fixed - Fixed support for BitBucket pipeline (see [link](https://github.com/Codium-ai/pr-agent/pull/386)) From a85921d3c5ded60d18f3d7b914f86665b4f155a7 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:49:35 +0200 Subject: [PATCH 08/11] release notes --- RELEASE_NOTES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 51eafa80..ccc95843 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -7,8 +7,8 @@ - codiumai/pr-agent:0.9-github_action ### Added::Algo -- New tool `/generate_labels` - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md) -- New ability to use customize labels on `review` and `describe` tools - see [link](https://github.com/Codium-ai/pr-agent/blob/hl/custom_labels/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) +- New tool `/generate_labels` - see [link](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) +- New ability to use customize labels on `review` and `describe` tools - see [link](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) - GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)) - GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)) - Support custom domain URLs for azure devops integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)) @@ -19,7 +19,7 @@ Significant documentation updates (see [Installation Guide](https://github.com/C ### Fixed - Fixed support for BitBucket pipeline (see [link](https://github.com/Codium-ai/pr-agent/pull/386)) - Fixed a bug in `review -i` tool -- Added blacklist for non-Editable file extensions in `add_docs` tool (see [link](https://github.com/Codium-ai/pr-agent/pull/385/)) +- Added blacklist for specific file extensions in `add_docs` tool (see [link](https://github.com/Codium-ai/pr-agent/pull/385/)) ## [Version 0.8] - 2023-09-27 - codiumai/pr-agent:0.8 From e3845283f8ca3ff58e0ecc25d68e1896a4d075b8 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:58:36 +0200 Subject: [PATCH 09/11] release notes --- RELEASE_NOTES.md | 9 +++++---- pr_agent/algo/utils.py | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index ccc95843..b9f363c8 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -7,11 +7,12 @@ - codiumai/pr-agent:0.9-github_action ### Added::Algo -- New tool `/generate_labels` - see [link](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) -- New ability to use customize labels on `review` and `describe` tools - see [link](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) -- GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)) +- New tool - [/generate_labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) +- New ability to use [customize labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) on the `review` and `describe` tools. +- GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)). - GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)) -- Support custom domain URLs for azure devops integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)) +- Support custom domain URLs for azure devops integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)). +- PR Description default mode is now in [bullet points](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L35). ### Added::Documentation Significant documentation updates (see [Installation Guide](https://github.com/Codium-ai/pr-agent/blob/main/INSTALL.md), [Usage Guide](https://github.com/Codium-ai/pr-agent/blob/main/Usage.md), and [Tools Guide](https://github.com/Codium-ai/pr-agent/blob/main/docs/TOOLS_GUIDE.md)) diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index 7de31fd4..423771a3 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -307,6 +307,9 @@ def try_fix_yaml(review_text: str) -> dict: def set_custom_labels(variables): + if not get_settings().config.enable_custom_labels: + return + labels = get_settings().custom_labels if not labels: # set default labels From 7538c4dd2fbdf3da66adf593aa7df2c46d868535 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 14:59:50 +0200 Subject: [PATCH 10/11] generate_labels --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b9f363c8..a51258fb 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -7,7 +7,7 @@ - codiumai/pr-agent:0.9-github_action ### Added::Algo -- New tool - [/generate_labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) +- New tool - [generate_labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) - New ability to use [customize labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) on the `review` and `describe` tools. - GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)). - GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)) From 5f32e2893372c5cc953bb8ed27366ecf021f1691 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 15:02:16 +0200 Subject: [PATCH 11/11] generate_labels --- RELEASE_NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index a51258fb..082c0583 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -8,7 +8,7 @@ ### Added::Algo - New tool - [generate_labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md) -- New ability to use [customize labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#configuration-changes) on the `review` and `describe` tools. +- New ability to use [customize labels](https://github.com/Codium-ai/pr-agent/blob/main/docs/GENERATE_CUSTOM_LABELS.md#how-to-enable-custom-labels) on the `review` and `describe` tools. - GitHub Action: Can now use a `.pr_agent.toml` file to control configuration parameters (see [Usage Guide](./Usage.md#working-with-github-action)). - GitHub App: Added ability to trigger tools on push events (see [link](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml#L91)) - Support custom domain URLs for azure devops integration (see [link](https://github.com/Codium-ai/pr-agent/pull/381)).