From 8ea3099cd376416d7faa9b7244cc8e5cb9407670 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 25 Apr 2026 19:17:23 +0100 Subject: [PATCH] test(codex): accept visible session model reply --- src/gateway/gateway-codex-harness.live-helpers.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gateway/gateway-codex-harness.live-helpers.ts b/src/gateway/gateway-codex-harness.live-helpers.ts index fed4ee0f7f0..2225ccf9d97 100644 --- a/src/gateway/gateway-codex-harness.live-helpers.ts +++ b/src/gateway/gateway-codex-harness.live-helpers.ts @@ -48,6 +48,7 @@ export const EXPECTED_CODEX_MODELS_COMMAND_TEXT = [ "Current session model: `codex/", "Current session model is `openai/", "Current session model is `codex/", + "Visible session model:", "The current session is using `openai/", "The current session is using `codex/", "current session is using `openai/", @@ -109,6 +110,7 @@ export function isExpectedCodexModelsCommandText(text: string): boolean { const mentionsSessionModel = normalized.includes("current session is using") || normalized.includes("current session model") || + normalized.includes("visible session model") || normalized.includes("the current session is using"); const mentionsConfigSummary = normalized.includes("default model") ||