Skip to content

Commit bab8ca3

Browse files
Merge pull request #1142 from corbitsdev/cl-8751-fixture-modernize-gpt-5.6
test(prompts): modernize stale gpt-4.1 fixtures to gpt-5.6
2 parents 3c22194 + 1380ac9 commit bab8ca3

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎src/agent/grok-residual.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe("grok ceremony merge (CL-8296)", () => {
4444
{ providerName: "anthropic", model: "claude-sonnet-4" },
4545
{ providerName: "moonshot", model: "kimi-k2" },
4646
{ providerName: "opencode-go", model: "muse-spark-1.3-contributor" },
47-
{ providerName: "openai", model: "gpt-4.1" },
47+
{ providerName: "openai", model: "gpt-5.6" },
4848
] as const) {
4949
expect(shouldApplyGrokAntiThrash({ ...input, orchestrator: false })).toBe(
5050
false,

‎src/agent/model-family-policy.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe("resolveModelFamilyPolicy", () => {
125125
});
126126
expect(orchestrator.promptResidual).toBeUndefined();
127127
// Default-family probe: anthropic/claude-sonnet-4 hits the claude row
128-
// and openai/gpt-4.1 hits the gpt row (#1135), so an unrecognized
128+
// and openai/gpt-5.6 hits the gpt row (#1135), so an unrecognized
129129
// provider is the probe that still resolves to the default family.
130130
const base = resolveModelFamilyPolicy({
131131
providerName: "unknown-provider",
@@ -154,13 +154,13 @@ describe("resolveModelFamilyPolicy", () => {
154154
expect(orchestrator.promptResidual).toBeUndefined();
155155
});
156156

157-
// The gpt family row has landed (#1135): openai/gpt-4.1 and codex/gpt-5.1
157+
// The gpt family row has landed (#1135): openai/gpt-5.6 and codex/gpt-5.1
158158
// resolve to the gpt family with the narrate-before-tools residual, leaf
159159
// and orchestrator alike (no carve-out). Grok keeps its CL-8297 tool-budget
160160
// residual — the "no residual" claim below is default-family-only.
161161
test("gpt probes resolve to gpt with the narrate residual; grok keeps its tool budget", () => {
162162
for (const input of [
163-
{ providerName: "openai", model: "gpt-4.1" },
163+
{ providerName: "openai", model: "gpt-5.6" },
164164
{ providerName: "codex", model: "gpt-5.1" },
165165
] as const) {
166166
for (const orchestrator of [false, true]) {

‎src/subagent/provider-family.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe("isXaiGrokLeafProvider", () => {
4141
}),
4242
).toBe(false);
4343
expect(
44-
isXaiGrokLeafProvider({ providerName: "openai", model: "gpt-4.1" }),
44+
isXaiGrokLeafProvider({ providerName: "openai", model: "gpt-5.6" }),
4545
).toBe(false);
4646
});
4747

@@ -141,7 +141,7 @@ describe("detectModelFamily", () => {
141141
}),
142142
).toBe("claude");
143143
expect(
144-
detectModelFamily({ providerName: "openai", model: "gpt-4.1" }),
144+
detectModelFamily({ providerName: "openai", model: "gpt-5.6" }),
145145
).toBe("gpt");
146146
expect(
147147
detectModelFamily({
@@ -169,7 +169,7 @@ describe("isClaudeLeafProvider", () => {
169169
isClaudeLeafProvider({ providerName: "xai/default", model: "grok-4.5" }),
170170
).toBe(false);
171171
expect(
172-
isClaudeLeafProvider({ providerName: "openai", model: "gpt-4.1" }),
172+
isClaudeLeafProvider({ providerName: "openai", model: "gpt-5.6" }),
173173
).toBe(false);
174174
expect(
175175
isClaudeLeafProvider({ providerName: "codex", model: "gpt-5.1" }),

0 commit comments

Comments
 (0)