Skip to content

Conversation

@mudler
Copy link
Owner

@mudler mudler commented Jul 3, 2025

Description

This pull request introduces a new CLI command for managing LocalAI backends, including functionality to list, install, uninstall, and handle backend configurations. The changes primarily focus on adding backend management capabilities to the CLI.

Backend Management Features

  • New BackendsCMD structure added: Implements subcommands for listing (BackendsList), installing (BackendsInstall and BackendsInstallSingle), and uninstalling (BackendsUninstall) backends. Each subcommand includes detailed functionality, such as progress tracking during installation and error handling. (core/cli/backends.go, core/cli/backends.goR1-R156)

  • Integration into CLI: The BackendsCMD is registered as a new command in the main CLI structure, enabling users to manage backends directly from the CLI. (core/cli/cli.go, core/cli/cli.goR14)

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 27eaf17
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/6866b8c0075a1d0008a1aea2
😎 Deploy Preview https://deploy-preview-5787--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler mudler force-pushed the feat/cli-backends branch from 1bba0ae to 27eaf17 Compare July 3, 2025 17:07
@mudler mudler merged commit c5b9f45 into master Jul 3, 2025
28 checks passed
@mudler mudler deleted the feat/cli-backends branch July 3, 2025 17:31
@mudler mudler added the enhancement New feature or request label Jul 3, 2025
gmaOCR pushed a commit to gmaOCR/LocalAI that referenced this pull request Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants