This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+12 more
ReleasePort's take
Moderate signalLocalAI v4.2.1 introduces a ds4 backend enabling DeepSeek V4 Flash inference with tool calling and thinking support. Updated Go dependencies and Ollama API enhancements improve model discoverability and capability reporting.
Why it matters: Teams running LocalAI can now evaluate DeepSeek V4 Flash as an inference option. Check updated Ollama /api/tags and /api/show endpoints to verify model capabilities and compatibility before deploying.
Summary
AI summaryAdded ds4 backend (DeepSeek V4 Flash) with tool calls, thinking, KV cache.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
Add ds4 backend for DeepSeek V4 Flash with tool calls and thinking Add ds4 backend for DeepSeek V4 Flash with tool calls and thinking Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Feature | Medium |
Report model capabilities and details in Ollama /api/tags and /api/show Report model capabilities and details in Ollama /api/tags and /api/show Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Dependency | Medium |
Bump Go module dependencies in go_modules group with 2 updates Bump Go module dependencies in go_modules group with 2 updates Source: llm_adapter@2026-05-21 Confidence: low |
— |
| Dependency | Medium |
Update ik_llama.cpp library to specific commit hash version Update ik_llama.cpp library to specific commit hash version Source: llm_adapter@2026-05-21 Confidence: low |
— |
Full changelog
What's Changed
Exciting New Features 🎉
- feat: add ds4 backend (DeepSeek V4 Flash) with tool calls, thinking, KV cache by @localai-bot in https://github.com/mudler/LocalAI/pull/9758
👒 Dependencies
- chore(deps): bump the go_modules group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/mudler/LocalAI/pull/9759
Other Changes
- docs: :arrow_up: update docs version mudler/LocalAI by @localai-bot in https://github.com/mudler/LocalAI/pull/9762
- ci(bump-deps): register ds4 + move version pin into the Makefile by @localai-bot in https://github.com/mudler/LocalAI/pull/9761
- chore: :arrow_up: Update ikawrakow/ik_llama.cpp to
eb570eb96689c235933b813693ca28ab9d3d26deby @localai-bot in https://github.com/mudler/LocalAI/pull/9764 - feat(ollama): report model capabilities + details on /api/tags and /api/show by @localai-bot in https://github.com/mudler/LocalAI/pull/9766
Full Changelog: https://github.com/mudler/LocalAI/compare/v4.2.0...v4.2.1
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Related context
Related tools
Beta — feedback welcome: [email protected]