ModelUtils.ts
should not contain process execution logic
#1809
Labels
ModelUtils.ts
should not contain process execution logic
#1809
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 filepodman-desktop-extension-ai-lab/packages/backend/src/utils/modelsUtils.ts
Line 50 in e2d5a2e
podman-desktop-extension-ai-lab/packages/backend/src/utils/modelsUtils.ts
Line 66 in e2d5a2e
Those two method uses the
process
api exposed by the podman-desktop core. They are getting the podman executable throughgetPodmanCli
which should be deprecated since podman-desktop/podman-desktop#8891 has been mergedDescribe 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
The text was updated successfully, but these errors were encountered: