mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:00:42 +00:00
fix: skip stale opencode live file probes
This commit is contained in:
@@ -91,7 +91,13 @@ describe("live model turn probes", () => {
|
||||
expect(shouldSkipLiveModelFileProbe({ provider: "google", id: "gemini-3-pro-preview" })).toBe(
|
||||
true,
|
||||
);
|
||||
expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "mimo-v2-omni" })).toBe(
|
||||
true,
|
||||
);
|
||||
expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "mimo-v2-pro" })).toBe(true);
|
||||
expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "minimax-m2.5" })).toBe(
|
||||
true,
|
||||
);
|
||||
expect(shouldSkipLiveModelFileProbe({ provider: "opencode-go", id: "kimi-k2.5" })).toBe(false);
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@ const KNOWN_EMPTY_FILE_PROBE_MODELS = new Set([
|
||||
"google/gemini-3.1-pro-preview-customtools",
|
||||
"opencode-go/glm-5",
|
||||
"opencode-go/glm-5.1",
|
||||
"opencode-go/mimo-v2-omni",
|
||||
"opencode-go/mimo-v2-pro",
|
||||
"opencode-go/minimax-m2.5",
|
||||
]);
|
||||
const KNOWN_EMPTY_IMAGE_PROBE_MODELS = new Set([
|
||||
"fireworks/accounts/fireworks/models/kimi-k2p6",
|
||||
|
||||
Reference in New Issue
Block a user