pub fn create_provider(config: &ProviderConfig) -> Result<Box<dyn LlmProvider>>Expand description
Factory: create the right provider from config.
If api_key is None, automatically loads from $ATOMCODE_HOME/auth.toml
(with token refresh if expired).