Skip to content

chore: update localai to v3.4.0 #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 21, 2025
Merged

chore: update localai to v3.4.0 #592

merged 2 commits into from
Aug 21, 2025

Conversation

sozercan
Copy link
Collaborator

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

@Copilot Copilot AI review requested due to automatic review settings August 16, 2025 21:56
Copilot

This comment was marked as outdated.

@@ -12,9 +12,10 @@ import (
)

const (
distrolessBase = "ghcr.io/kaito-project/aikit/base:latest"
// distrolessBase = "ghcr.io/kaito-project/aikit/base:latest".
distrolessBase = "docker.io/sozercan/base:test"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

@sozercan sozercan requested a review from Copilot August 20, 2025 19:29
Copilot

This comment was marked as outdated.

@sozercan sozercan requested a review from Copilot August 21, 2025 04:46
Copilot

This comment was marked as outdated.

@sozercan sozercan requested a review from Copilot August 21, 2025 04:49
Copilot

This comment was marked as outdated.

@sozercan sozercan requested a review from Copilot August 21, 2025 04:55
Copilot

This comment was marked as outdated.

@sozercan sozercan requested a review from Copilot August 21, 2025 05:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates LocalAI to v3.4.0 and refactors backend handling to use OCI registry-based backends instead of building from source. The update removes the Mamba backend support and introduces a new backend management system.

  • Updates LocalAI from v2.26.0 to v3.4.0
  • Removes Mamba backend support completely
  • Refactors backend installation to use pre-built OCI images from registry
  • Updates template syntax for completion prompts across model files

Reviewed Changes

Copilot reviewed 46 out of 46 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pkg/aikit2llb/inference/convert.go Updates LocalAI version constant and modifies binary download URLs
pkg/aikit2llb/inference/backend.go Introduces new OCI-based backend installation system with platform-specific logic
pkg/utils/const.go Removes BackendMamba constant and adds BackendLlamaCpp and BackendOCIRegistry constants
pkg/build/build.go Updates backend validation logic and adds platform compatibility checks
website/docs/specs-inference.md Updates backend documentation to remove mamba and add llama-cpp as default
test/ and models/ files Adds missing template syntax and backend configurations for various test files
Multiple workflow files Updates security policies from block to audit egress

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@sozercan sozercan force-pushed the chore-localai-340-2 branch from 8294936 to 6081ae4 Compare August 21, 2025 06:15
@sozercan sozercan merged commit 4ed1518 into main Aug 21, 2025
7 checks passed
@sozercan sozercan deleted the chore-localai-340-2 branch August 21, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant