diff --git a/changelog/4295.fixed.md b/changelog/4295.fixed.md new file mode 100644 index 000000000..aca68a071 --- /dev/null +++ b/changelog/4295.fixed.md @@ -0,0 +1 @@ +- Fixed `LLMContextSummarizer` failing with "No messages to summarize" when using `system_instruction` instead of a system-role message at the start of the context. The summarizer previously scanned the entire context for the first system message, which could match a mid-conversation injection (e.g. idle notifications) instead of the initial prompt, causing the summarization range to be empty.