# Migration Context: LocalAI v4 -> v5 # Generated by Changelogs.us: 2026-11-30T03:04:31.547737+00:00 # Target Version: v5.1.0 # Upgrade Command: N/A # Breaking Changes: 1 # Security Fixes: 0 ## Executive Summary Upgrading LocalAI from 4 to 5 involves 3 releases with risk rating High. ## Breaking Changes List: - [vv5.0.0] Breaking Changes 🛠 * feat(realtime): LFM3-Audio speech-to-speech on llama.cpp, remove liquid-audio by @mudler-agent in https://github.com/mudler/LocalAI/pull/12958 * feat(chats): server-side chats with steering, sub-agents and compaction by @mudler-agent in https://github.com/mudler/LocalAI/pull/12918: ## Instructions for AI Assistant: When migrating user code from LocalAI 4 to 5, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv5.1.0 idioms.