import fs from "node:fs"; import path from "node:path"; import { describe, expect, it } from "vitest"; import {
MINIMAX_DEFAULT_MODEL_ID,
MINIMAX_DEFAULT_MODEL_REF,
MINIMAX_TEXT_MODEL_REFS,
} from "../plugin-sdk/minimax.js";
describe("MiniMax docs sync", () => {
it("keeps the live-testing guide on the current MiniMax default", () => {
expect(testingLiveDoc).toContain("MiniMax M2.7");
expect(testingLiveDoc).toContain(MINIMAX_DEFAULT_MODEL_REF);
});
it("keeps the provider doc aligned with shared MiniMax ids", () => {
expect(minimaxDoc).toContain(MINIMAX_DEFAULT_MODEL_ID);
expect(minimaxDoc).toContain(MINIMAX_DEFAULT_MODEL_REF);
expect(minimaxDoc).toContain(`Unknown model: ${MINIMAX_DEFAULT_MODEL_REF}`); for (const modelRef of MINIMAX_TEXT_MODEL_REFS.slice(3)) {
expect(minimaxDoc).toContain(modelRef);
}
expect(minimaxDoc).not.toContain("(unreleased at the time of writing)");
});
});
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.