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
170 stars 31 forks source link

bug(frontend): trackingId is only fetch on forms mount #1781

Closed axel7083 closed 4 days ago

axel7083 commented 4 days ago

Bug description

In the CreateService and StartRecipe we are collecting the trackingId in the onMount

https://github.com/containers/podman-desktop-extension-ai-lab/blob/5eed9e2ea29aa1ef3eb3571f4bffc2aa75a5e7be/packages/frontend/src/pages/StartRecipe.svelte#L134-L139

https://github.com/containers/podman-desktop-extension-ai-lab/blob/5eed9e2ea29aa1ef3eb3571f4bffc2aa75a5e7be/packages/frontend/src/pages/CreateService.svelte#L129-L135

This was not a problem until https://github.com/containers/podman-desktop-extension-ai-lab/pull/1745 as dynamically the trackingId query parameter could change.

Operating system

Fedora 40

Installation Method

Other

Version

next (development version)

Steps to reproduce

Raised by @gastoner in https://github.com/containers/podman-desktop-extension-ai-lab/pull/1745#issuecomment-2360014815

Relevant log output

No response

Additional context

No response