mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-08 03:30:34 +00:00
Loop detection, clarification and dangling-tool-call repair parse model-provided tool arguments and options. A JSON string, Python structure or native option label nested past the interpreter recursion limit raised RecursionError and aborted the run; these paths now treat it like any other unusable payload (opaque args, an empty replay object, or a skipped option), and the dict-option flatten and _stable_tool_key use guarded serialization. Rebased onto current main; the stale-base docs commit is superseded by main and the AGENTS note is trimmed to stay inside the guidance chain budget.