Skip to content

Commit a0d2d5f

Browse files
authored
Merge pull request #942 from krissetto/remove-noisy-debug-log
Remove thinking signature debug logs
2 parents 52a5bb4 + f5463d7 commit a0d2d5f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎pkg/model/provider/anthropic/beta_adapter.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func (a *betaStreamAdapter) Recv() (chat.MessageStreamResponse, error) {
7373
}
7474
if block.Signature != "" {
7575
response.Choices[0].Delta.ThinkingSignature = block.Signature
76-
slog.Debug("Received thinking signature (start)", "signature", block.Signature)
7776
}
7877
}
7978
case anthropic.BetaRawContentBlockDeltaEvent:
@@ -95,7 +94,6 @@ func (a *betaStreamAdapter) Recv() (chat.MessageStreamResponse, error) {
9594
case anthropic.BetaSignatureDelta:
9695
// Signature delta is for thinking blocks - capture it so we can replay thinking in history
9796
response.Choices[0].Delta.ThinkingSignature = deltaVariant.Signature
98-
slog.Debug("Received thinking signature", "signature", deltaVariant.Signature)
9997
default:
10098
return response, fmt.Errorf("unknown delta type: %T", deltaVariant)
10199
}

0 commit comments

Comments
 (0)