Skip to content

Commit 81bdccb

Browse files
authored
Merge pull request #210 from PeterDaveHello/feat-reasoning-effort-env
Add REASONING_EFFORT var for reasoning models
2 parents 1e3df15 + d7b3807 commit 81bdccb

14 files changed

Lines changed: 91030 additions & 88780 deletions

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ MODEL=
1818
temperature=
1919
top_p=
2020
max_tokens=
21+
REASONING_EFFORT=
2122
TARGET_LABEL=
2223
MAX_PATCH_LENGTH=
2324
PROMPT=Below there is a code diff please help me do a code review

README.ja.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
PROMPT:
6767
top_p: 1
6868
temperature: 1
69+
# REASONING_EFFORT: low # optional; only for reasoning models (e.g. gpt-5.4, gpt-5.5), values (model support varies): none, minimal, low, medium, high, xhigh
6970
IGNORE_PATTERNS: /node_modules,*.md # Regex pattern to ignore files, separated by comma
7071
```
7172

README.ko.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
6262
# optional
6363
LANGUAGE: Korean
64+
# REASONING_EFFORT: low # optional; only for reasoning models (e.g. gpt-5.4, gpt-5.5), values (model support varies): none, minimal, low, medium, high, xhigh
6465
PROMPT:
6566
IGNORE_PATTERNS: /node_modules,*.md # Regex pattern to ignore files, separated by comma
6667
```

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
top_p: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p
7979
temperature: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
8080
max_tokens: 10000
81+
# REASONING_EFFORT: low # optional; only for reasoning models (e.g. gpt-5.4, gpt-5.5), values (model support varies): none, minimal, low, medium, high, xhigh
8182
MAX_PATCH_LENGTH: 10000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
8283
IGNORE_PATTERNS: /node_modules/**/*,*.md # glob pattern or regex pattern to ignore files, separated by comma
8384
INCLUDE_PATTERNS: *.js,*.ts # glob pattern or regex pattern to include files, separated by comma

README.zh-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
6464
# optional
6565
LANGUAGE: Chinese
66+
# REASONING_EFFORT: low # optional; only for reasoning models (e.g. gpt-5.4, gpt-5.5), values (model support varies): none, minimal, low, medium, high, xhigh
6667
PROMPT:
6768
IGNORE_PATTERNS: /node_modules,*.md # Regex pattern to ignore files, separated by comma
6869
```

README.zh-TW.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
top_p: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p
6767
temperature: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
6868
max_tokens: 10000
69+
# REASONING_EFFORT: low # optional; only for reasoning models (e.g. gpt-5.4, gpt-5.5), values (model support varies): none, minimal, low, medium, high, xhigh
6970
MAX_PATCH_LENGTH: 10000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
7071
IGNORE_PATTERNS: /node_modules,*.md # Regex pattern to ignore files, separated by comma
7172
```

action/37.index.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ __webpack_require__.r(__webpack_exports__);
1010
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
1111
/* harmony export */ "toFormData": () => (/* binding */ toFormData)
1212
/* harmony export */ });
13-
/* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7972);
13+
/* harmony import */ var fetch_blob_from_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32777);
1414
/* harmony import */ var formdata_polyfill_esm_min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(68010);
1515

1616

0 commit comments

Comments
 (0)