mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-27 00:04:32 +00:00
Use *string for AnthropicResponse.StopReason so streaming message_start serializes as JSON null instead of "", matching official Anthropic wire format and avoiding strict client turn-finalization failures.