Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit ea338f0

Browse files
authored
reduce default max_files to 40 (#52)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI Chore: Reduce default `max_files` from 80 to 40 and set `debug` flag to true in `.github/workflows/openai-review.yml`. <!-- end of auto-generated comment: release notes by openai -->
1 parent f2a4f22 commit ea338f0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/openai-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
3232
with:
33-
debug: false
33+
debug: true
3434
review_comment_lgtm: false

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
max_files:
1313
required: false
1414
description: 'Max files to review. Less than or equal to 0 means no limit.'
15-
default: '80'
15+
default: '40'
1616
temperature:
1717
required: false
1818
description: 'Temperature for GPT model'

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class Options {
185185

186186
constructor(
187187
debug: boolean,
188-
max_files = '80',
188+
max_files = '40',
189189
review_comment_lgtm = false,
190190
path_filters: string[] | null = null,
191191
system_message = '',

0 commit comments

Comments
 (0)