Marshall Bowers
7a6b652ebc
language_model: Return AuthenticateErrors from LanguageModelProvider::authenticate ( #25126 )
...
This PR updates the `LanguageModelProvider::authenticate` method to
return an `AuthenticateError` instead of an `anyhow::Error`.
This allows us to model the "credentials not found" state explicitly as
`AuthenticateError::CredentialsNotFound`, which enables the caller to
check for this state and act accordingly.
Planning to use this in #25123 to silence errors about missing
credentials when authenticating providers in the background.
Release Notes:
- N/A
2025-02-19 00:01:48 +00:00
..
2025-02-19 00:01:48 +00:00
2025-02-18 21:01:09 -03:00
2025-02-18 21:01:09 -03:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-17 11:32:04 -03:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-14 15:41:49 +01:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 22:52:23 +00:00
2025-02-18 10:09:15 -05:00
2025-02-18 17:47:25 +00:00
2025-02-18 10:09:15 -05:00
2025-02-18 20:30:33 +00:00
2025-02-13 21:48:09 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 14:27:10 -07:00
2025-02-15 00:35:13 +00:00
2025-02-18 10:09:15 -05:00
2025-02-18 15:18:23 +00:00
2025-02-12 15:57:08 -07:00
2025-02-18 20:30:33 +00:00
2025-02-14 15:41:49 +01:00
2025-02-18 13:20:39 -05:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-19 00:01:48 +00:00
2025-02-18 21:01:09 -03:00
2025-02-19 00:01:48 +00:00
2025-02-18 14:27:00 +00:00
2025-02-18 01:15:10 +00:00
2025-02-16 20:24:12 +00:00
2025-02-18 20:30:33 +00:00
2025-02-16 20:24:12 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-15 01:33:30 +05:30
2025-02-14 13:07:41 -05:00
2025-02-18 20:30:33 +00:00
2025-02-14 15:41:49 +01:00
2025-02-18 20:30:33 +00:00
2025-02-17 19:18:12 -03:00
2025-02-14 15:41:49 +01:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-14 14:04:32 -07:00
2025-02-14 22:03:59 -07:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 13:10:10 -08:00
2025-02-17 11:42:22 -05:00
2025-02-18 10:09:15 -05:00
2025-02-18 03:23:48 +00:00
2025-02-18 14:27:00 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-14 15:41:49 +01:00
2025-02-18 20:30:33 +00:00
2025-02-14 22:03:59 -07:00
2025-02-18 13:10:10 -08:00
2025-02-18 13:10:10 -08:00
2025-02-18 13:20:39 -05:00
2025-02-18 17:47:25 +00:00
2025-02-18 13:24:06 -03:00
2025-02-12 15:57:08 -07:00
2025-02-18 10:09:15 -05:00
2025-02-18 10:09:15 -05:00
2025-02-17 10:17:22 -07:00
2025-02-18 20:30:33 +00:00
2025-02-14 10:28:07 -05:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-18 20:30:33 +00:00
2025-02-14 13:27:48 +02:00
2025-02-18 20:30:33 +00:00