Skip to content

Commit bc7432c

Browse files
feat: upgrade default review model to gpt-5.4 with xhigh reasoning
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent 07a08ac commit bc7432c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ inputs:
9292
required: false
9393
default: "7"
9494
review_model:
95-
description: "Override the model used for code review (e.g., 'claude-sonnet-4-5-20250929', 'gpt-5.1-codex'). Only applies to review flows."
95+
description: "Override the model used for code review (e.g., 'claude-sonnet-4-5-20250929', 'gpt-5.4-mini'). Only applies to review flows."
9696
required: false
97-
default: "gpt-5.2"
97+
default: "gpt-5.4"
9898
reasoning_effort:
99-
description: "Override reasoning effort for review flows (passed to Droid Exec as --reasoning-effort). If empty and review_model is also empty, the action defaults internally to gpt-5.2 at high reasoning."
99+
description: "Override reasoning effort for review flows (passed to Droid Exec as --reasoning-effort). If empty and review_model is also empty, the action defaults internally to gpt-5.4 at xhigh reasoning."
100100
required: false
101-
default: "high"
101+
default: "xhigh"
102102
review_use_validator:
103103
description: "Enable two-pass review: generate candidate comments to JSON, then validate and post only approved ones."
104104
required: false

review/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ inputs:
1515
review_model:
1616
description: "Model to use for review"
1717
required: false
18-
default: "gpt-5.2"
18+
default: "gpt-5.4"
1919
reasoning_effort:
2020
description: "Reasoning effort for review (passed to Droid Exec as --reasoning-effort)"
2121
required: false
22-
default: "high"
22+
default: "xhigh"
2323
output_file:
2424
description: "Path to write review results JSON"
2525
required: false

test/modes/tag/review-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ describe("prepareReviewMode", () => {
390390
(call: unknown[]) => call[0] === "droid_args",
391391
) as [string, string] | undefined;
392392
// When neither REVIEW_MODEL nor REASONING_EFFORT is provided, no --model or --reasoning-effort
393-
// flags are added. Defaults are handled by the action.yml inputs (gpt-5.2 / high).
393+
// flags are added. Defaults are handled by the action.yml inputs (gpt-5.4 / xhigh).
394394
expect(droidArgsCall?.[1]).not.toContain("--model");
395395
expect(droidArgsCall?.[1]).not.toContain("--reasoning-effort");
396396
});

0 commit comments

Comments
 (0)