fix: harden flaky tests and cover native google thought signatures (#23457) (thanks @echoVic)

This commit is contained in:
Peter Steinberger
2026-02-22 12:22:38 +01:00
parent 9176571ec1
commit 401106b963
9 changed files with 110 additions and 13 deletions

View File

@@ -19,6 +19,10 @@ describe("resolveTranscriptPolicy", () => {
modelApi: "google-generative-ai",
});
expect(policy.sanitizeToolCallIds).toBe(true);
expect(policy.sanitizeThoughtSignatures).toEqual({
allowBase64Only: true,
includeCamelCase: true,
});
});
it("enables sanitizeToolCallIds for Mistral provider", () => {