-
fix(claude): track message_start event in streaming response
released this
2025-10-15 19:54:48 +00:00 | 1614 commits to main since this releaseAdd a
MessageStartedflag toConvertOpenAIResponseToAnthropicParamsto ensure themessage_startevent is emitted only once during streaming.
Refactor response handling to detect streaming mode via thestreamfield instead of theobjecttype, simplifying the branching logic.
Update the streaming conversion to setMessageStartedafter sending themessage_startevent, preventing duplicate starts.
These changes improve correctness of streaming response handling for Claude integration.Downloads