mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-23 15:42:12 +03:00
Squash merge from local merge-train (Hard Rule owner-approved). Tip 029cdf4215cf465f0e1716ac9f84a84692b1e881 validated on 192.168.0.113: 26631/26653 pass.
16 lines
518 B
TypeScript
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")));
|
|
});
|