Skip to content

Commit a7bce63

Browse files
committed
forgot to add span enrichment
1 parent 5bc81f1 commit a7bce63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Sentry.Extensions.AI/SentryChatClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public override async IAsyncEnumerable<ChatResponseUpdate> GetStreamingResponseA
7171
var enumerator = base
7272
.GetStreamingResponseAsync(chatMessages, options, cancellationToken)
7373
.GetAsyncEnumerator(cancellationToken);
74+
SentryAISpanEnricher.EnrichWithRequest(innerSpan, chatMessages, options, _sentryAIOptions);
7475

7576
while (true)
7677
{

0 commit comments

Comments
 (0)