"Cannot register model '{requested_name}' on endpoint '{namespace}/{component}/{endpoint}': a different model '{conflicting_name}' is already registered there"
"Cannot register model '{requested_name}' on endpoint '{namespace}/{component}/{endpoint}': a different model '{conflicting_name}' is already registered there"
))
.context(format!(
"failed to roll back conflicting model registration for instance {instance_id}: {unregister_err}",
instance_id=instance.instance_id()
));
}
anyhow::bail!(
"Cannot register model '{requested_name}' on endpoint '{namespace}/{component}/{endpoint}': a different model '{conflicting_name}' is already registered there"
);
}
Ok(instance)
}
/// Backend-specific raw registration implementation.