fix: cleanup based on copilot review comments
This commit is contained in:
@@ -303,7 +303,7 @@ public class AnthropicApiClient : IAnthropicApiClient
|
||||
|
||||
return AnthropicResult<IAsyncEnumerable<MessageBatchResultItem>>.Success(ReadResultsAsync(), anthropicHeaders);
|
||||
|
||||
async IAsyncEnumerable<MessageBatchResultItem> ReadResultsAsync([EnumeratorCancellation] CancellationToken ct = default)
|
||||
async IAsyncEnumerable<MessageBatchResultItem> ReadResultsAsync()
|
||||
{
|
||||
using var responseContent = await response.Content.ReadAsStreamAsync();
|
||||
using var streamReader = new StreamReader(responseContent);
|
||||
|
||||
Reference in New Issue
Block a user