Skip to content

Commit ac41f48

Browse files
committed
Add assert to streaming test
1 parent 52b5cc7 commit ac41f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Responses/ResponsesToolTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ in client.CreateResponseStreamingAsync(message, responseOptions))
761761
imageGenItemId ??= imageGenCallInPartialUpdate.ItemId;
762762
Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInPartialUpdate.ItemId));
763763
Assert.That(imageGenCallInPartialUpdate.OutputIndex, Is.EqualTo(0));
764+
Assert.That(imageGenCallInPartialUpdate.PartialImageBytes, Is.Not.Null);
764765
partialCount++;
765766
}
766767
else if (update is StreamingResponseImageGenerationCallInProgressUpdate imageGenCallInProgressUpdate)

0 commit comments

Comments
 (0)