b12830
A fix has been implemented to allow tool calls within reasoning blocks for K2 Horizon models, ensuring that tool calls are properly recognized and executed even when they appear inside thinking segments. The parser now ends the reasoning phase upon detecting a tool call marker (`<ifm|tool_calls>`), preventing loss of the tool call. This resolves issue #32972 and follows the same pattern used in prior fixes for Gemma4 and Ministral-3.