Skip to content

Support model_usage declaration when creating a worker version

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

The git import code must support a new optional field from the YAML worker configuration named model_usage.

  • when the value is not set in YAML, it's set to False
  • otherwise only support boolean value

It should only affect the CreateWorkerVersion API call.