ollama/anthropic
ParthSareen b44d9b3347 anthropic: add tests for SDK-required empty fields
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
2026-01-05 19:19:34 -08:00
..
anthropic.go anthropic: fix streaming with SDK by including empty fields 2026-01-05 19:19:34 -08:00
anthropic_test.go anthropic: add tests for SDK-required empty fields 2026-01-05 19:19:34 -08:00