ZIm/crates/language_model
Richard Feldman c610ebfb03
Thread Anthropic errors into LanguageModelKnownError (#33261)
This PR is in preparation for doing automatic retries for certain
errors, e.g. Overloaded. It doesn't change behavior yet (aside from some
granularity of error messages shown to the user), but rather mostly
changes some error handling to be exhaustive enum matches instead of
`anyhow` downcasts, and leaves some comments for where the behavior
change will be in a future PR.

Release Notes:

- N/A
2025-06-23 18:48:26 +00:00
..
src Thread Anthropic errors into LanguageModelKnownError (#33261) 2025-06-23 18:48:26 +00:00
Cargo.toml Don't spawn Anthropic telemetry event when API key is missing (#32813) 2025-06-16 14:58:37 -04:00
LICENSE-GPL Extract completion provider crate (#14823) 2024-07-19 13:35:34 -04:00