Remove omitempty from Text and Thinking fields in ContentBlock struct. The Anthropic SDK requires these fields to be present (even if empty) in content_block_start events to properly accumulate streaming deltas. |
||
|---|---|---|
| .. | ||
| anthropic.go | ||
| anthropic_test.go | ||