This PR reworks how we store tool results and refer to them later. We now maintain a mapping of the tool uses to their corresponding results, with separate mappings for the messages and the tool uses they correspond to. Release Notes: - N/A
report_assistant_event
language_model
cx.background_executor().spawn(...)
cx.background_spawn(...)