mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
91e6dfd2c8
Track whether a model sends proper ReasoningDeltaEvent events. If so, skip parsing <thinking> tags from text to avoid sending reasoning content twice (once as proper reasoning, once parsed from text). Also reset the tracking state at the start of each new prompt turn.