@@ -114,7 +114,7 @@ describe("createAgentSession stream options", () => {
|
||||
});
|
||||
|
||||
try {
|
||||
const stream = await session.agent.streamFn(model, { messages: [] }, requestOptions);
|
||||
const stream = await session.agent.streamFunction(model, { messages: [] }, requestOptions);
|
||||
await stream.result();
|
||||
return capturedOptions;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user