Skip to content
Closed
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
15 changes: 15 additions & 0 deletions src/lib/actions/sandbox/doctor-inference.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,21 @@ describe("doctor inference checks", () => {
);
});

it.each([
["nvidia-prod", "unknown"],
["unknown", "nvidia/nemotron"],
] as const)("warns with recovery guidance when only %s / %s resolves", async (provider, model) => {
const checks = await collectInferenceChecks("alpha", { provider, model }, false, {
probeProviderHealthImpl: () => null,
});

expect(checks.find((check) => check.label === "Route")).toMatchObject({
label: "Route",
status: "warn",
hint: "run `nemoclaw alpha status` after the gateway is healthy",
});
});

it("makes a broken inference.local route authoritative over a healthy upstream (#6192)", async () => {
const checks = await collectInferenceChecks(
"alpha",
Expand Down
Loading