Files
OmniRoute/tests/unit/maritalk-model-catalog.test.ts
backryun 0f874825cf Train 1D: merge via --admin on .113 validation
Squash merge from local merge-train (Hard Rule owner-approved). Tip 029cdf4215cf465f0e1716ac9f84a84692b1e881 validated on 192.168.0.113: 26631/26653 pass.
2026-07-27 11:30:12 -03:00

16 lines
518 B
TypeScript

import assert from "node:assert/strict";
import test from "node:test";
import { getRegistryEntry } from "../../open-sse/config/providerRegistry.ts";
test("Maritalk exposes only the current non-Brazilian-Portuguese model variants", () => {
const maritalk = getRegistryEntry("maritalk");
assert.ok(maritalk);
assert.deepEqual(
maritalk.models.map((model) => model.id),
["sabia-4", "sabia-4-thinking", "sabiazinho-4"]
);
assert.ok(maritalk.models.every((model) => !model.id.endsWith("-br-sp")));
});