pub fn new(
config: GenerativeModelConfig,
) -> Result<Arc<dyn GenerativeModel>, ModelCreationError>Expand description
Construct a driver, rejecting a protocol/backend mismatch before any request. No network request is made until the returned model is asked to generate.