Skip to content

Commit f55212b

Browse files
committed
fix: Fixed Streaming bug.
1 parent ec585a7 commit f55212b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Anthropic/AnthropicClient.Streaming.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public partial class AnthropicClient
7979

8080
using var __response = await HttpClient.SendAsync(
8181
request: __httpRequest,
82-
completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
82+
completionOption: global::System.Net.Http.HttpCompletionOption.ResponseHeadersRead,
8383
cancellationToken: cancellationToken).ConfigureAwait(false);
8484

8585
ProcessResponse(

0 commit comments

Comments
 (0)