assistant2: Exclude tool uses and results when summarizing threads (#25689)

This PR fixes the generation of summaries for threads when tools are
being used.

Previously we were including the tool uses in the summarization request,
but this would result in invalid messages being sent to the model and
summaries not being generated.

We now exclude any tool uses or results from the model when summarizing
a thread.

Release Notes:

- N/A
b8fb416892Marshall Bowers committed on 2/26/2025, 10:24:56 PM· committed by GitHubparent6a1c104
1 file changedLine totals unavailable