Skip to content

Commit 822233d

Browse files
committed
Support Model
1 parent e39ad61 commit 822233d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Each example includes a complete workflow file that you can copy to your `.githu
8080
| `pull_number` | The number of the pull request being reviewed | Yes | `${{ github.event.pull_request.number }}` |
8181
| `repo_name` | The full name (owner/repo) of the repository | Yes | `${{ github.repository }}` |
8282
| `custom_guidelines` | Custom guidelines to include in PR reviews | No | See [Custom Guidelines](#custom-guidelines) section |
83+
| `model` | Optional model name to use; passed directly to augment agent | No | e.g., openai/gpt-4o-mini |
8384

8485
## How It Works
8586

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ inputs:
1818
custom_guidelines:
1919
description: "Optional custom guidelines to include in the PR review process. These will be added to the default guidelines."
2020
required: false
21+
model:
22+
description: "Optional model name to use; passed directly to augmentcode/augment-agent."
23+
required: false
2124

2225
runs:
2326
using: "composite"
@@ -44,11 +47,12 @@ runs:
4447
CUSTOM_GUIDELINES: ${{ inputs.custom_guidelines }}
4548

4649
- name: Run Augment Agent
47-
uses: augmentcode/augment-agent@6f08f56902d6728a0ffbbb2004c136c06fec8104 # v0.1.0
50+
uses: augmentcode/augment-agent@v0
4851
with:
4952
augment_session_auth: ${{ inputs.augment_session_auth }}
5053
github_token: ${{ inputs.github_token }}
5154
template_directory: "${{ github.action_path }}/templates"
5255
pull_number: ${{ inputs.pull_number }}
5356
repo_name: ${{ inputs.repo_name }}
5457
custom_context: ${{ steps.custom_context.outputs.context }}
58+
model: ${{ inputs.model }}

0 commit comments

Comments
 (0)