Model swapping
Paddler allows you to dynamically swap models. You can do that either in the web admin panel or through the API.
Video version
Swapping models in the web admin panel
To swap models in the web admin panel, go to the "Model" section and use the "Model URI" field. You can either provide the link to the model's file on Hugging Face or a local file path to the model, for example:

Next, click "Apply changes" to save the new model. The agents will automatically start using it.
Swapping models through the API
To swap the model through the API, you should send the request to change the balancer's desired state and provide the filename, repo ID, and the revision of the model. An example payload can look like this:
Similarly to swapping models through the web admin panel, sending this request with the new model will make the agents use it automatically.