Update streamNormalInput.test.ts

This commit is contained in:
Tomasz Stefaniak 2025-07-29 14:30:32 -07:00
parent 52f7d9e881
commit b98960e09d

View file

@ -202,15 +202,15 @@ describe("streamNormalInput", () => {
// Verify IDE messenger calls
expect(mockIdeMessenger.request).toHaveBeenCalledWith("llm/compileChat", {
messages: expect.any(Array),
options: expect.any(Object),
messages: [{ role: "user", content: "Hello" }],
options: {},
});
expect(mockIdeMessenger.llmStreamChat).toHaveBeenCalledWith(
expect.objectContaining({
completionOptions: expect.any(Object),
completionOptions: {},
title: "Claude 3.5 Sonnet",
messages: expect.any(Array),
messages: [{ role: "user", content: "Hello" }],
messageOptions: { precompiled: true },
}),
expect.any(AbortSignal),