Skip to content

Commit 2dac205

Browse files
committed
fix anthropic stream start logging
1 parent 56f7c29 commit 2dac205

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/SharpClaw.Code.Providers/AnthropicProvider.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public Task<ProviderStreamHandle> StartStreamAsync(ProviderRequest request, Canc
8585
parameters = parameters with { System = systemPrompt };
8686
}
8787

88-
logger.LogInformation("Started Anthropic SDK stream for request {RequestId}.", request.Id);
88+
logger.LogInformation("Starting Anthropic SDK stream for request {RequestId}.", request.Id);
8989

9090
IAsyncEnumerable<RawMessageStreamEvent> stream;
9191
try
@@ -106,6 +106,8 @@ public Task<ProviderStreamHandle> StartStreamAsync(ProviderRequest request, Canc
106106
exception);
107107
}
108108

109+
logger.LogInformation("Started Anthropic SDK stream for request {RequestId}.", request.Id);
110+
109111
return Task.FromResult(new ProviderStreamHandle(request, AnthropicSdkStreamAdapter.AdaptAsync(stream, request.Id, systemClock, cancellationToken)));
110112
}
111113

0 commit comments

Comments
 (0)