Skip to content

Commit 9d5b5f2

Browse files
author
push edp
committed
feat: support for Assistant stream mode and implemented stream event callbacks
1 parent 17090c1 commit 9d5b5f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stream_reader_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ data: {"id": "thread_123", "object": "thread"}
4242

4343
err = stream.Wait()
4444

45-
if err != nil {
46-
checks.ErrorIs(t, err, io.EOF, "get unexpected stream error:", err.Error())
47-
}
45+
checks.ErrorIs(t, err, io.EOF, "get unexpected stream error:", err.Error())
4846

4947
if response.ID != "thread_123" {
5048
t.Fatalf("Did not retrieve the correct event id, reponse: %v", response)

0 commit comments

Comments
 (0)