pub fn open_driver(
model: &ModelConfig,
) -> Result<(Arc<dyn ModelProvider>, Option<String>), String>Expand description
The model driver for model, and the secret to redact from messages.
Keys come only from the environment; a local openai-compatible server
needs none unless api_key_env names one.