containers / podman-desktop-extension-ai-lab

Work with LLMs on a local environment using containers
https://podman-desktop.io/extensions/ai-lab
Apache License 2.0
145 stars 23 forks source link

feat: make recipes uses models based on backend property #1210

Closed axel7083 closed 2 weeks ago

axel7083 commented 2 weeks ago

What does this PR do?

Make the list of models displayed in the recipe details page based on the backend.

Screenshot / video of UI

https://github.com/containers/podman-desktop-extension-ai-lab/assets/42176370/3fce9fad-fb34-4005-9759-74bf8755c0da

What issues does this PR fix or reference?

Fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1192

How to test this PR?

axel7083 commented 2 weeks ago

@jeffmaury I adapted the code to handle multiple recommended models. Here is a demo of what it would look like

https://github.com/containers/podman-desktop-extension-ai-lab/assets/42176370/351297a7-0e75-4deb-8fa2-e5bc69f3745f