From 0fd0a693992f15dac2cdd66504dd5596aa9d91db Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 23 Apr 2026 16:09:35 +0100 Subject: [PATCH] test: skip additional stale live probe routes --- src/agents/live-model-turn-probes.test.ts | 4 ++++ src/agents/live-model-turn-probes.ts | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/agents/live-model-turn-probes.test.ts b/src/agents/live-model-turn-probes.test.ts index 8f404c57cc9..55a2ae57431 100644 --- a/src/agents/live-model-turn-probes.test.ts +++ b/src/agents/live-model-turn-probes.test.ts @@ -88,6 +88,9 @@ describe("live model turn probes", () => { it("skips known stale file probe routes", () => { expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "glm-5" })).toBe(true); + expect(shouldSkipLiveModelFileProbe({ provider: "google", id: "gemini-3-pro-preview" })).toBe( + true, + ); expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "kimi-k2.5" })).toBe(false); }); @@ -98,6 +101,7 @@ describe("live model turn probes", () => { id: "accounts/fireworks/models/kimi-k2p6", }), ).toBe(true); + expect(shouldSkipLiveModelImageProbe({ provider: "opencode-go", id: "kimi-k2.5" })).toBe(true); expect(shouldSkipLiveModelImageProbe({ provider: "fireworks", id: "glm-5" })).toBe(false); }); diff --git a/src/agents/live-model-turn-probes.ts b/src/agents/live-model-turn-probes.ts index 433dcb64039..a590b83213b 100644 --- a/src/agents/live-model-turn-probes.ts +++ b/src/agents/live-model-turn-probes.ts @@ -9,10 +9,16 @@ const PROBE_PNG_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAALUlEQVR4nO3OIQEAAAwCMPrnod8fAzMxv7S9pQgICAgICAgICAgICAgICKwDD+yWbLXSniMNAAAAAElFTkSuQmCC"; const KNOWN_EMPTY_EXTRA_PROBE_MODELS = new Set(["openrouter/amazon/nova-2-lite-v1"]); -const KNOWN_EMPTY_FILE_PROBE_MODELS = new Set(["opencode-go/glm-5", "opencode-go/glm-5.1"]); +const KNOWN_EMPTY_FILE_PROBE_MODELS = new Set([ + "google/gemini-3-pro-preview", + "google/gemini-3.1-pro-preview-customtools", + "opencode-go/glm-5", + "opencode-go/glm-5.1", +]); const KNOWN_EMPTY_IMAGE_PROBE_MODELS = new Set([ "fireworks/accounts/fireworks/models/kimi-k2p6", "fireworks/accounts/fireworks/routers/kimi-k2p5-turbo", + "opencode-go/kimi-k2.5", "opencode-go/kimi-k2.6", ]);