AI summarize: select prompt

This commit is contained in:
M66B
2024-06-16 15:49:18 +02:00
parent 35cbcb8f02
commit 8d46dbab13
6 changed files with 124 additions and 16 deletions

View File

@@ -1578,7 +1578,7 @@ public class EntityRule {
}
try {
Spanned summary = AI.getSummaryText(context, message);
Spanned summary = AI.getSummaryText(context, message, -1L);
message.preview = (summary == null ? null : summary.toString());
} catch (Throwable ex) {
message.error = Log.formatThrowable(ex);