From 7820a9a48e22de996e6b335b643b30613cdffa34 Mon Sep 17 00:00:00 2001 From: DevMando Date: Mon, 7 Sep 2026 18:45:11 -0700 Subject: [PATCH] Fix: Stop repeated context-window notices when restoring sessions --- .../MandoCode.Desktop.Tests.csproj | 1 + .../ModelNoticeReplayTests.cs | 32 +++++++++++++++++++ .../Services/ModelNoticeReplay.cs | 19 +++++++++++ .../Services/TranscriptHtmlBuilder.cs | 3 +- .../ViewModels/ChatController.cs | 6 ++-- 5 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 src/MandoCode.Desktop.Tests/ModelNoticeReplayTests.cs create mode 100644 src/MandoCode.Desktop/Services/ModelNoticeReplay.cs diff --git a/src/MandoCode.Desktop.Tests/MandoCode.Desktop.Tests.csproj b/src/MandoCode.Desktop.Tests/MandoCode.Desktop.Tests.csproj index 19df441..54141f2 100644 --- a/src/MandoCode.Desktop.Tests/MandoCode.Desktop.Tests.csproj +++ b/src/MandoCode.Desktop.Tests/MandoCode.Desktop.Tests.csproj @@ -56,6 +56,7 @@ the file-naming convention is a real contract worth pinning; pure System.IO, no WinUI. --> +