it("returns the same object when the compat patch is already present", () => { const model = {
compat: {
supportsStore: false,
supportsReasoningEffort: false,
maxTokensField: "max_tokens" as const,
},
};
expect(applyMistralModelCompat(model)).toBe(model);
});
it("returns the same object when mistral-small-latest compat is fully normalized", () => { const model = {
id: MISTRAL_SMALL_LATEST_ID,
compat: resolveMistralCompatPatch({ id: MISTRAL_SMALL_LATEST_ID }),
};
expect(applyMistralModelCompat(model)).toBe(model);
});
it("contributes Mistral transport compat for native, provider-family, and hinted custom routes", () => {
expect(
contributeMistralResolvedModelCompat({
modelId: "mistral-large-latest",
model: {
provider: "mistral",
api: "openai-completions",
baseUrl: "https://proxy.example/v1",
},
}),
).toEqual(MISTRAL_MODEL_TRANSPORT_PATCH);
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-28)
¤
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.