Fix non-existent assistantId

This commit is contained in:
Tat Dat Duong
2025-07-01 01:35:59 +02:00
parent 70be50f37b
commit 882de42996
+3 -3
View File
@@ -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,
});