From 66ee32b2339997d13252c1cd697280e8dbad0b28 Mon Sep 17 00:00:00 2001 From: infosave2007 Date: Tue, 21 Jul 2026 23:15:33 +0300 Subject: [PATCH] =?UTF-8?q?chore(release):=20v0.2.27=20=E2=80=94=20auto-sp?= =?UTF-8?q?awn=20local=20CMF=20server=20on=20model=20registration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 +++++- Cargo.lock | 2 +- Cargo.toml | 2 +- src/admin/mod.rs | 12 ++++++++++++ src/state.rs | 8 ++++++++ 5 files changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 092ea54..2e754b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,11 @@ All notable changes to this project are documented here. The format is based on [Keep a Changelog](https://keepachangelog.com/). -## [0.2.26] - 2026-07-21 +## [0.2.27] - 2026-07-21 + +### Fixed +- **Automatic CMF Local Server Lifecycle**: Registering an imported `.cmf` model automatically adds it to `[[cmf.servers]]` and reloads the runtime (`cmf_runtime::manage`), automatically spawning `cortiq serve` on port 8090 so chat completion requests route seamlessly without `upstream unavailable` errors. + ### Fixed - **Multi-GB Ready CMF Download Stream**: Replaced HTTP stream decoder with a streaming process downloader (`curl`) for pre-converted `.cmf` models to support multi-gigabyte Hugging Face LFS repositories without 30s/60s socket timeouts. diff --git a/Cargo.lock b/Cargo.lock index dff95dc..80af982 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -285,7 +285,7 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "cortiq-gateway" -version = "0.2.26" +version = "0.2.27" dependencies = [ "anyhow", "arc-swap", diff --git a/Cargo.toml b/Cargo.toml index 9bbf32c..ae114ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cortiq-gateway" -version = "0.2.26" +version = "0.2.27" edition = "2021" rust-version = "1.75" license = "Apache-2.0" diff --git a/src/admin/mod.rs b/src/admin/mod.rs index 955d2fc..7ba9863 100644 --- a/src/admin/mod.rs +++ b/src/admin/mod.rs @@ -1319,6 +1319,18 @@ async fn register_import(State(state): State, Path(job): Path