-
Notifications
You must be signed in to change notification settings - Fork 76
Labels
Description
Is your enhancement related to a problem? Please describe
Currently the packages/backend/src/utils/modelsUtils.ts has two method which should not be in an utility file
| export async function isModelUploaded(machine: string, modelInfo: ModelInfo): Promise<boolean> { |
| export async function deleteRemoteModel(machine: string, modelInfo: ModelInfo): Promise<void> { |
Those two method uses the process api exposed by the podman-desktop core. They are getting the podman executable through getPodmanCli which should be deprecated since podman-desktop/podman-desktop#8891 has been merged
Describe the solution you'd like
We need to support the new podman-desktop/podman-desktop#8891 and properly manage the legacy support (version < 1.13).
The logic method should be moved to the PodmanConnection class.
Describe alternatives you've considered
No response
Additional context
This work is required for #1591