language_models: Remove `.unwrap`s in Bedrock provider (#26238)

This PR removes a number of `.unwrap`s in the Bedrock provider.

We must not `.unwrap` in situations where it is not provably safe to do
so, which it was not in any of these cases.

Release Notes:

- Fixed some potential panics in the AWS Bedrock model provider.
97c0a0a86eMarshall Bowers committed on 3/6/2025, 9:02:37 PM· committed by GitHubparent7e96429
1 file changedLine totals unavailable