anthropic: Don't bail out on unknown model ID (#23782)

This PR fixes an issue introduced in
https://github.com/zed-industries/zed/pull/20551/ that would prevent
models with unknown IDs from working in the LLM service.

We only need to look up a model from its ID for the beta headers, and if
we can't find that particular model we should fall back to the default
beta headers instead of bailing out completely,

Release Notes:

- N/A
070890d361Marshall Bowers committed on 1/28/2025, 3:56:05 PM· committed by GitHubparent2b160f4
1 file changedLine totals unavailable