assistant2: Avoid unnecessary `String` cloning in tool use (#25725)

This PR removes some unnecessary `String` cloning in the tool use paths.

We now store the data in `Arc<str>`s for cheap cloning.

Release Notes:

- N/A
e7df5ce61cMarshall Bowers committed on 2/27/2025, 3:16:09 AM· committed by GitHubparentda22f21
5 files changedLine totals unavailable