Skip to main content

client_from_env

Function client_from_env 

Source
pub fn client_from_env(provider: LLMProvider) -> Result<Arc<dyn LLMClientDyn>>
Expand description

Build a retry-wrapped client for a provider, reading its API key from the environment.