From ab6147fba93e4b6bfb48d165595966cd0dd4befb Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Mon, 6 Apr 2026 22:56:54 -0700 Subject: [PATCH] =?UTF-8?q?release:=20v0.38.6=20=E2=80=94=20insights=20mes?= =?UTF-8?q?sage=20count=20fix=20(#165)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nathan Esquenazi --- CHANGELOG.md | 7 +++++++ static/index.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f3e852..f0d76a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ --- +## [v0.38.6] — 2026-04-07 + +### Fixed +- **`/insights` message count always 0 for WebUI sessions** (#163, #164): `sync_session_usage()` wrote token counts, cost, model, and title to `state.db` but never `message_count`. Both the streaming and sync chat paths now pass `len(s.messages)`. Note: `/insights` sync is opt-in — enable **Sync to Insights** in Settings (it's off by default). + +--- + ## [v0.38.5] — 2026-04-06 ### Fixed diff --git a/static/index.html b/static/index.html index d224b7b..3fdd670 100644 --- a/static/index.html +++ b/static/index.html @@ -14,7 +14,7 @@