Skip to content

Commit

Permalink
test: Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Oct 26, 2024
1 parent f611c5f commit 0b56d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/Anthropic.IntegrationTests/Tests.Streaming.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public async Task Streaming()
var deltas = new List<string>();
await foreach (var response in enumerable)
{
Console.Write(response.ContentBlockDelta?.Delta.Text?.Text);
Console.Write(response.ContentBlockDelta?.Delta.TextDelta?.Text);

deltas.Add(response.ContentBlockDelta?.Delta.Text?.Text ?? string.Empty);
deltas.Add(response.ContentBlockDelta?.Delta.TextDelta?.Text ?? string.Empty);
}

deltas.Should().NotBeEmpty().And.HaveCountGreaterThan(5);
Expand Down

0 comments on commit 0b56d38

Please sign in to comment.