From b4ba8379deabfc717315712994117bcb9fbac25f Mon Sep 17 00:00:00 2001 From: backryun Date: Thu, 7 May 2026 20:48:43 +0900 Subject: [PATCH] chore: Remove Deprecated Models (#2033) Integrated into release/v3.8.0 --- open-sse/config/imageRegistry.ts | 4 ++-- open-sse/config/providerRegistry.ts | 6 ++---- tests/unit/bailian-coding-plan-provider.test.ts | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/open-sse/config/imageRegistry.ts b/open-sse/config/imageRegistry.ts index 8cec75b755..0162ec6dea 100644 --- a/open-sse/config/imageRegistry.ts +++ b/open-sse/config/imageRegistry.ts @@ -153,10 +153,10 @@ export const IMAGE_PROVIDERS: Record = { authHeader: "bearer", format: "openai", models: [ - { id: "grok-imagine-image-pro", name: "Grok Imagine Image Pro" }, + { id: "grok-imagine-image-quality", name: "Grok Imagine Image Quality" }, { id: "grok-imagine-image", name: "Grok Imagine Image" }, ], - supportedSizes: ["1024x1024"], + supportedSizes: ["1024x1024", "2048x2048"], }, together: { diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts index f860d8b535..328259d622 100644 --- a/open-sse/config/providerRegistry.ts +++ b/open-sse/config/providerRegistry.ts @@ -1100,8 +1100,6 @@ export const REGISTRY: Record = { { id: "grok-4.20-multi-agent-0309", name: "Grok 4.20 Multi Agent" }, { id: "grok-4.20-0309-reasoning", name: "Grok 4.20 Reasoning" }, { id: "grok-4.20-0309-non-reasoning", name: "Grok 4.20" }, - { id: "grok-4-1-fast-reasoning", name: "Grok 4.1 Fast Reasoning" }, - { id: "grok-4-1-fast-non-reasoning", name: "Grok 4.1 Fast" }, ], }, @@ -1140,7 +1138,7 @@ export const REGISTRY: Record = { authHeader: "cookie", passthroughModels: true, models: [ - { id: "fast", name: "Grok Fast", toolCalling: true }, + { id: "fast", name: "Grok 4.20", toolCalling: true }, { id: "expert", name: "Grok 4.20 Thinking", toolCalling: true }, { id: "heavy", name: "Grok 4.20 Multi Agent", toolCalling: true }, { id: "grok-420-computer-use-sa", name: "Grok 4.3 (Beta)", toolCalling: true }, @@ -1157,7 +1155,7 @@ export const REGISTRY: Record = { authHeader: "bearer", models: [ { id: "mistral-large-latest", name: "Mistral Large 3" }, - { id: "mistral-medium-latest", name: "Mistral Medium 3.1" }, + { id: "mistral-medium-3-5", name: "Mistral Medium 3.5" }, { id: "mistral-small-latest", name: "Mistral Small 4" }, { id: "devstral-latest", name: "Devstral 2" }, { id: "codestral-latest", name: "Codestral" }, diff --git a/tests/unit/bailian-coding-plan-provider.test.ts b/tests/unit/bailian-coding-plan-provider.test.ts index 161cc0ae36..4897ab343d 100644 --- a/tests/unit/bailian-coding-plan-provider.test.ts +++ b/tests/unit/bailian-coding-plan-provider.test.ts @@ -274,7 +274,7 @@ test("getStaticModelsForProvider returns local image catalogs for image-only pro assert.ok(models, "xAI should expose local image models"); assert.deepEqual( models.map((model) => model.id), - ["grok-imagine-image-pro", "grok-imagine-image"] + ["grok-imagine-image-quality", "grok-imagine-image"] ); });