





















@@ -197,14 +197,18 @@ describe("qa scenario catalog", () => {
197197expect(readQaScenarioById("long-context-progress-watchdog").sourcePath).toBe(
198198"qa/scenarios/runtime/long-context-progress-watchdog.md",
199199);
200-expect(JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow))
201-.toContain("EmbeddedAttemptSessionTakeoverError");
202-expect(JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow))
203-.toContain("AbortError");
204-expect(JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow))
205-.toContain("This operation was aborted");
206-expect(JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow))
207-.toContain("liveTurnTimeoutMs(env, 180000)");
200+expect(
201+JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow),
202+).toContain("EmbeddedAttemptSessionTakeoverError");
203+expect(
204+JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow),
205+).toContain("AbortError");
206+expect(
207+JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow),
208+).toContain("This operation was aborted");
209+expect(
210+JSON.stringify(readQaScenarioById("gateway-restart-inflight-run").execution.flow),
211+).toContain("liveTurnTimeoutMs(env, 180000)");
208212expect(readQaScenarioExecutionConfig("long-context-progress-watchdog")).toMatchObject({
209213requiredProviderMode: "live-frontier",
210214harnessRuntime: "codex",
@@ -323,25 +327,24 @@ describe("qa scenario catalog", () => {
323327const scenario = readQaScenarioById("gpt55-thinking-visibility-switch");
324328const config = readQaScenarioExecutionConfig("gpt55-thinking-visibility-switch") as
325329| {
326-requiredLiveProvider?: string;
327-requiredLiveModel?: string;
330+requiredProvider?: string;
331+requiredModel?: string;
328332offDirective?: string;
329333maxDirective?: string;
330334reasoningDirective?: string;
331335}
332336| undefined;
333337334338expect(scenario.sourcePath).toBe("qa/scenarios/models/gpt55-thinking-visibility-switch.md");
335-expect(config?.requiredLiveProvider).toBe("openai");
336-expect(config?.requiredLiveModel).toBe("gpt-5.5");
339+expect(config?.requiredProvider).toBe("openai");
340+expect(config?.requiredModel).toBe("gpt-5.5");
337341expect(config?.offDirective).toBe("/think off");
338342expect(config?.maxDirective).toBe("/think medium");
339343expect(config?.reasoningDirective).toBe("/reasoning on");
340344expect(scenario.execution.flow?.steps.map((step) => step.name)).toEqual([
341345"enables reasoning display and disables thinking",
342346"switches to medium thinking",
343-"verifies medium thinking emits visible reasoning",
344-"verifies medium thinking completes the answer",
347+"verifies medium thinking reaches the provider",
345348]);
346349});
347350此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。