Update streamNormalInput.test.ts
This commit is contained in:
parent
52f7d9e881
commit
b98960e09d
1 changed files with 4 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue