assistant: Remove `unwrap`s in `RecentBuffersContext` (#11938)

This PR removes the `unwrap`s in the `RecentBuffersContext` when
building the message.

We can just make `build_message` return a `Result` to clean things up.

Release Notes:

- N/A
97691c1defMarshall Bowers committed on 5/16/2024, 9:57:52 PM· committed by GitHubparent7462234
1 file changedLine totals unavailable