Skip to content

Commit 5b60195

Browse files
committed
fix: thinking delta
1 parent f60c7b4 commit 5b60195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

anthropic/anthropic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ func (a languageModel) Stream(ctx context.Context, call ai.Call) (ai.StreamRespo
837837
if !yield(ai.StreamPart{
838838
Type: ai.StreamPartTypeReasoningDelta,
839839
ID: fmt.Sprintf("%d", chunk.Index),
840-
Delta: chunk.Delta.Text,
840+
Delta: chunk.Delta.Thinking,
841841
}) {
842842
return
843843
}

0 commit comments

Comments
 (0)