Closed axel7083 closed 2 weeks ago
Since https://github.com/containers/podman-desktop-extension-ai-lab/pull/1175 we decided to init everything during the activate function of the extension was made (cc @jeffmaury) we now have a problem, where we are often listing all the contains before the catalog has been loaded.
An easy fix would be to change the definition of the InferenceServer which has a models property, which is redundant, as we have the model store available for the frontend, and the ModelsManager for the backend.
InferenceServer
models
Windows 11
Other
next (development version)
No response
Okey changing the models property from ModelInfo[] to string[] is a nightmare
ModelInfo[]
string[]
We need to fix the racing condition then :(
Bug description
Since https://github.com/containers/podman-desktop-extension-ai-lab/pull/1175 we decided to init everything during the activate function of the extension was made (cc @jeffmaury) we now have a problem, where we are often listing all the contains before the catalog has been loaded.
An easy fix would be to change the definition of the
InferenceServer
which has amodels
property, which is redundant, as we have the model store available for the frontend, and the ModelsManager for the backend.Operating system
Windows 11
Installation Method
Other
Version
next (development version)
Steps to reproduce
No response
Relevant log output
No response
Additional context
No response