mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
The finetune.start and quantize.start operations defaulted to the backend names "trl" and "llama-cpp-quantization", and the backend lister had one method per engine family. Both were special cases that a new engine could not use. The lister now answers for a gallery tag. A start call that names no backend gets the first installed backend of the tag in gallery order, and a named backend must carry the tag. With no engine installed the call fails with a 400 that says so. The shipped gallery order keeps trl and llama-cpp-quantization as the defaults, and a test pins it. The change is additive for add-ons: no manifest field or operation changes. Assisted-by: Claude:claude-sonnet-5-5 go gofmt