pub trait ProviderIdentity: Send + Sync {
// Provided method
fn provider_name(&self) -> &'static str { ... }
}Expand description
Shared provider identity surface for chat and embedding providers.
Returns the provider identity string used for logs, tracing, fixtures, and
diagnostics (for example "anthropic" or "openai").
This is an open string surface rather than a closed enum so wrappers and custom providers can preserve their existing naming. Callers should not treat it as a stable capability-dispatch mechanism.
Provided Methods§
Sourcefn provider_name(&self) -> &'static str
fn provider_name(&self) -> &'static str
Returns the provider identity name.