Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/lib/inference/nvidia-featured-models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,34 @@ describe("NVIDIA featured model catalog", () => {
);
});

it("filters the retired DeepSeek V4 Pro entry the featured feed still lists (#9611)", () => {
const options = getNvidiaFeaturedModelPromptOptions(null, {
runCurlProbeImpl: () => ({
ok: true,
httpStatus: 200,
curlStatus: 0,
body: JSON.stringify({
"featured-models": [
{ model: "nvidia/nemotron-3-ultra-550b-a55b", "model-name": "Nemotron 3 Ultra 550B" },
{ model: "nemotron-3-super-120b-a12b", "model-name": "Nemotron 3 Super 120B" },
{ model: "z-ai/glm-5.2", "model-name": "GLM 5.2" },
{ model: "minimaxai/minimax-m3", "model-name": "Minimax M3" },
{ model: "deepseek-ai/deepseek-v4-pro", "model-name": "DeepSeek V4 Pro" },
],
}),
stderr: "",
message: "",
}),
});

expect(options.cloudModelOptions.map((option) => option.id)).toEqual([
"nvidia/nemotron-3-ultra-550b-a55b",
"nvidia/nemotron-3-super-120b-a12b",
"z-ai/glm-5.2",
"minimaxai/minimax-m3",
]);
});

it("reuses one featured catalog lookup but recomputes defaults across onboarding retries", () => {
let probeCount = 0;
const loadOptions = createNvidiaFeaturedModelPromptOptionsLoader({
Expand Down
1 change: 1 addition & 0 deletions src/lib/inference/nvidia-featured-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const NVIDIA_FEATURED_MODELS_URL =
const RETIRED_NVIDIA_FEATURED_MODEL_IDS = new Set([
"z-ai/glm-5.1", // Retired from NVIDIA Endpoints in #6069.
"moonshotai/kimi-k2.6", // Catalogs still list it after its backing route was removed.
"deepseek-ai/deepseek-v4-pro", // Retired from NVIDIA Endpoints on 2026-08-07; its route returns HTTP 410.
]);
const MAX_NVIDIA_FEATURED_CATALOG_BYTES = 1024 * 1024;
const MAX_NVIDIA_FEATURED_MODELS = 100;
Expand Down