Skip to content

Commit 248a83e

Browse files
Add support for specifying a custom AI model in README
1 parent 5cfc2c2 commit 248a83e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pr-review/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,15 @@ jobs:
247247
- The `display-mode` parameter is set to `none` to prevent the summary from being displayed.
248248
- The `displayText` output parameter is used to pass the summary to the review action as `header-text`.
249249

250-
### Custom Prompt
250+
#### Specify a custom AI model:
251+
252+
```yaml
253+
- uses: SAP/ai-assisted-github-actions/pr-summary@v3
254+
with:
255+
model: anthropic--claude-3.5-sonnet
256+
```
257+
258+
- The `model` parameter can be set to the executable ID of the [available generative AI models](https://me.sap.com/notes/3437766/E).
251259

252260
#### Extend the prompt:
253261

0 commit comments

Comments
 (0)