![]() 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 |
||
---|---|---|
.. | ||
model | ||
fake_provider.rs | ||
language_model.rs | ||
rate_limiter.rs | ||
registry.rs | ||
request.rs | ||
role.rs |