mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-29 09:38:51 -04:00
Add the add-on runtime to LocalAI: manifests, the host operation broker, admin gating by account role, the add-on UI bundle builder and the SDK for add-on pages. Move the navigation to Chat, Models, Add-ons and Settings, with pinned add-ons in the sidebar and an Add-ons drawer. Ship the first-party add-ons (voice, face, fine-tuning, quantization) as packages for linux/amd64, linux/arm64 and darwin/arm64. Intel macOS (darwin/amd64) is enabled in the platform files. Squashed from the review branch. The tree is unchanged; the pre-squash history is kept on a local backup branch. Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
21 lines
463 B
Go
21 lines
463 B
Go
// SPDX-License-Identifier: MIT
|
|
|
|
// Command addonpkg is the command line of pkg/addons/packaging: build, verify
|
|
// and publish first-party add-on OCI packages. scripts/addons/package.sh and
|
|
// the add-on package workflow call it.
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/mudler/LocalAI/pkg/addons/packaging"
|
|
)
|
|
|
|
func main() {
|
|
if err := packaging.Run(os.Args[1:], os.Stdout); err != nil {
|
|
fmt.Fprintf(os.Stderr, "addonpkg: %v\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|