containers / podman-desktop-extension-ai-lab

Work with LLMs on a local environment using containers

Home Page:https://podman-desktop.io/extensions/ai-lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide a way to cleanup recipes

slemeur opened this issue · comments

After I started all the samples, I'd like a way to clean them up.

I agree.

I can stop an app:
Screenshot 2024-03-27 at 16 57 55

But then it's not displayed in the AI Apps page anymore:
Screenshot 2024-03-27 at 17 21 50

When it runs, I can stop it in the AI Apps page, but cannot delete it:
Screenshot 2024-03-27 at 17 22 10

I feel like besides the ability to delete the App, it would also make sense to display not-running/stopped AI Apps in the that page.

@slemeur @axel7083 @lstocchi what do you think?

I agree.

I can stop an app: Screenshot 2024-03-27 at 16 57 55

But then it's not displayed in the AI Apps page anymore: Screenshot 2024-03-27 at 17 21 50

When it runs, I can stop it in the AI Apps page, but cannot delete it: Screenshot 2024-03-27 at 17 22 10

I feel like besides the ability to delete the App, it would also make sense to display not-running/stopped AI Apps in the that page.

@slemeur @axel7083 @lstocchi what do you think?

In fact, the Stop button has the effect to delete the pod, not stop it.

It has been discussed during an UX call, and we didn't want to have 2 buttons, one Stop button and one Delete button, to not confuse the user on which one to use, so it has been chosen to keep only the Deletion of the app (using a Stop button, which can be confusing, I would agree)

Thanks, @feloy !

I wonder if there's anything we can do differently. Looking at how containers and pods are managed, stopped (to me) doesn't imply a removal or clean up.

We wanted to hide the low-level and consider the app as either running or deleted. But it depends on if we really want to hide this low-level "complexity". It is not done for models services for example, so we could be consistent with it and have much more states for the app.

@slemeur WDYT?

@slemeur introduced by #719 we have the delete action on a recipe. Does this resolve this issue, or you add something else in mind ?

image