From 882de42996900570b111eb709b12016f822d7366 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Tue, 1 Jul 2025 01:35:59 +0200 Subject: [PATCH] Fix non-existent assistantId --- libs/sdk-js/src/tests/stream.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/sdk-js/src/tests/stream.test.tsx b/libs/sdk-js/src/tests/stream.test.tsx index 17e29f3b7..e05dde513 100644 --- a/libs/sdk-js/src/tests/stream.test.tsx +++ b/libs/sdk-js/src/tests/stream.test.tsx @@ -267,7 +267,7 @@ describe("useStream", () => { function TestComponent() { const { submit, stop } = useStream({ - assistantId: "test-assistant", + assistantId: "agent", apiKey: "test-api-key", onStop: onStopCallback, }); @@ -368,7 +368,7 @@ describe("useStream", () => { function TestComponent() { const { submit, stop, values } = useStream({ - assistantId: "test-assistant", + assistantId: "agent", apiKey: "test-api-key", initialValues: { counter: 5, @@ -423,7 +423,7 @@ describe("useStream", () => { function TestComponent() { const { submit } = useStream({ - assistantId: "test-assistant", + assistantId: "agent", apiKey: "test-api-key", onStop: onStopCallback, });