fix(ai): sanitize Mistral tool schemas closes #3361

This commit is contained in:
Mario Zechner
2026-04-18 00:54:21 +02:00
parent bfa11a50e4
commit 2dddc5ba25
4 changed files with 85 additions and 3 deletions

View File

@@ -767,11 +767,12 @@ describe("Generate E2E Tests", () => {
it("should handle thinking mode", { retry: 3 }, async () => {
const llm = getModel("mistral", "magistral-medium-latest");
await handleThinking(llm, { reasoningEffort: "medium" });
await handleThinking(llm, { promptMode: "reasoning" });
});
it("should handle multi-turn with thinking and tools", { retry: 3 }, async () => {
await multiTurn(llm, { reasoningEffort: "medium" });
const llm = getModel("mistral", "magistral-medium-latest");
await multiTurn(llm, { promptMode: "reasoning" });
});
});