Skip to content

Select a model when configuring a process

Depends https://gitlab.com/arkindex/backend/-/issues/1019

A user should be able to select a model version when a worker version used on a worker run is set with model_usage = True.

At this stage, the API endpoints to retrieve worker versions should export the model_usage information AND the StartProcess should fail if no model version is assigned to such a worker run.

The frontend should do the following:

  • when a worker version needs a model, display a small warning on the worker run line, along with a new button named "select model"
  • clicking on "select model" opens a modal with the existing component to list models & their versions
  • this existing component should be extended to allow a user to select a unique version
  • the worker run display should finally display the name of the selected model, allow its modification, and call UpdateWorkerRun to save its reference
  • in the end, StartProcess should be successful