mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
ec71a2232c
- Assistant messages: build content string in block order (thinking+text interleaved) - User messages: emit text before tool results when order is text→tool_result - Response: add extract_think_content_interleaved() to preserve <think>...</think> order - Add tests and docs for context preservation bugs Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>