Make the DeployOptions use the public config.model_from_config function.