mirror of
https://github.com/block/buzz.git
synced 2026-11-28 20:22:39 +00:00
output_item.added may arrive after function_call_arguments.delta when the Responses API reorders events. The delta handler creates the HashMap entry with an empty name, and the previous or_insert_with no-oped on existing entries. Use and_modify to backfill the name regardless of insertion order. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>