mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 15:36:48 +00:00
719305840b
_explicitly extract text blocks from AIMessage.content lists instead of
falling through to str() repr when .text is unavailable, preventing
garbage summary strings like "[{'type': 'text', ...}]" from reaching the
LLM. Adds parametrized regression tests for string, multi-block,
mixed reasoning/text, empty, and non-AIMessage responses.