fix: Add additional_text also to the summary, in order to prevent empty summaries

This commit is contained in:
Hocuri
2025-12-14 20:47:56 +01:00
parent eb489bc016
commit 78f884f170

View File

@@ -262,7 +262,7 @@ impl Message {
}
};
let text = self.text.clone();
let text = self.text.clone() + &self.additional_text;
let summary = if let Some(type_file) = type_file {
if append_text && !text.is_empty() {