Add tests documenting that Text and Thinking fields must be present in JSON output even when empty. The Anthropic SDK requires these fields in content_block_start events to accumulate streaming deltas properly. Tests verify: - ContentBlock JSON includes empty text/thinking fields - StreamConverter emits content_block_start with required fields |
||
|---|---|---|
| .. | ||
| anthropic.go | ||
| anthropic_test.go | ||