test: fix CI failures in heartbeat and typing tests

This commit is contained in:
Peter Steinberger
2026-02-25 02:28:42 +00:00
parent d42ef2ac62
commit 45b5c35b21
3 changed files with 24 additions and 24 deletions

View File

@@ -153,10 +153,7 @@ describeGeminiLive("pi embedded extra params (gemini live)", () => {
}
it("sanitizes Gemini 3.1 thinking payload and keeps image parts with reasoning enabled", async () => {
const model = getModel(
"google",
"gemini-3.1-pro-preview",
) as unknown as Model<"google-generative-ai">;
const model = getModel("google", "gemini-2.5-pro") as unknown as Model<"google-generative-ai">;
const agent = { streamFn: streamSimple };
applyExtraParamsToAgent(agent, undefined, "google", model.id, undefined, "high");