fix: preserve tool_calls when merging assistant messages; add DEBUG_MODE with errors/all modes d30c8bc jwadow commited on Dec 17, 2025