Skip to main content

(Optionally) Send "thinking" text back to the model

This is essential for some models like MiniMax M2: “To avoid degrading this model's performance, MiniMax highly recommends preserving reasoning between turns. Learn more about using reasoning_details to pass back reasoning in our docs.”

Also useful in daily usage when a response was cut off (happens more often with long reasoning):

2 comments

Log in to comment and vote

Comments2

  • Salmon Whistle

    •

    Nov 14, 2025

    bump. On the same note, the interleaved thinking steps from Kimi K2 Thinking or MiniMax M2 are currently not correctly rendered, it should be multiple thinking blocks with interleaved chat responses.