mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 21:26:39 +00:00
* fix(models): parse numeric MindIE XML tool arguments Signed-off-by: lovett55 <xbzz101800@163.com> * chore(models): narrow MindIE numeric parsing change Signed-off-by: lovett55 <xbzz101800@163.com> * fix(models): reject unsafe MindIE numeric literals * fix(models): preserve nested MindIE JSON numbers on conversion errors Keep the entire XML argument as raw text when JSON numeric conversion fails. Reserve Python-literal fallback for JSON syntax errors so nested underflow cannot silently become zero. Port the malformed-number regression tests from PR #6207 and cover nested underflow, representable tiny values, and the existing literal fallback. Co-authored-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com> --------- Signed-off-by: lovett55 <xbzz101800@163.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com> Co-authored-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>