# LocalAI v2.10.0 — Release & Upgrade Intelligence
- **Product:** LocalAI (https://localai.io)
- **Version:** v2.10.0
- **Released:** Mar 16, 2024
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/localai/updates/v2.10.0/

## Executive Summary (TL;DR)
LocalAI v2.10.0. Source highlight: LocalAI v2.10.0 Release Notes

## Breaking Changes & Deprecations
- Excited to announce the release of LocalAI v2.10.0! This version introduces significant changes, including breaking changes, numerous bug fixes, exciting new features, dependency updates, and more. Here's a summary of what's new:
- Breaking Changes 🛠 - The `trust_remote_code` setting in the YAML config file of the model are now consumed for enhanced security measures also for the AutoGPTQ and transformers backend, thanks to @dave-gray101's contribution ([#1799](https://github.com/mudler/LocalAI/pull/1799)). If your model relied on the old behavior and you are sure of what you are doing, set `trust_remote_code: true` in the YAML config file.
- Breaking Changes 🛠 * feat(autogpt/transformers): consume `trust_remote_code` by @dave-gray101 in https://github.com/mudler/LocalAI/pull/1799 ### Bug fixes :bug:

## New Features
- LocalAI continues to evolve with several new features:
- Ongoing implementation of the assistants API, making great progress thanks to community contributions, including an initial implementation by @christ66 (#1761).
- Addition of diffusers/transformers support for Intel GPU - now you can generate images and use the `transformer` backend also on Intel GPUs, implemented by @mudler (#1746).
- Compatibility layers for Elevenlabs and OpenAI TTS, enhancing text-to-speech capabilities: Now LocalAI is compatible with Elevenlabs and OpenAI TTS, thanks to @mudler (#1834).
- vLLM now supports `stream: true`! This feature was introduced by @golgeek (#1749).
- feat(autogpt/transformers): consume `trust_remote_code`

## Improvements
- The `trust_remote_code` setting in the YAML config file of the model are now consumed for enhanced security measures also for the AutoGPTQ and transformers backend, thanks to @dave-gray101's contribution (#1799). If your model relied on the old behavior and you are sure of what you are doing, set `trust_remote_code: true` in the YAML config file.
- Several internal changes have been made to improve the development process and documentation, including updates to integration guides, stress reduction on self-hosted runners, and more.

## Bug Fixes
- Various fixes have been implemented to enhance the stability and performance of LocalAI:
- SSE no longer omits empty `finish_reason` fields for better compatibility with the OpenAI API, fixed by @mudler (#1745).
- Functions now correctly handle scenarios with no results, also addressed by @mudler (#1758).
- A Command Injection Vulnerability has been fixed by @ouxs-19 (#1778).
- OpenCL-based builds for llama.cpp have been restored, thanks to @cryptk's efforts (#1828, #1830).
- An issue with OSX build `default.metallib` has been resolved, which should now allow running the llama-cpp backend on Apple arm64, fixed by @dave-gray101 (#1837).
