1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 21:24:34 +00:00

Reduced logging

This commit is contained in:
M66B 2024-11-01 15:01:10 +01:00
parent bef1c42132
commit 3f9465ddb2

View file

@ -477,7 +477,6 @@ public class ExpressionHelper {
try {
if (doc != null && parameterValues.length == 1) {
String prompt = parameterValues[0].getStringValue();
EntityLog.log(context, EntityLog.Type.Rules, message, "AI prompt=" + prompt);
if (!TextUtils.isEmpty(prompt)) {
result = AI.completeChat(context, -1L, doc.text(), null, prompt).toString();
EntityLog.log(context, EntityLog.Type.Rules, message, "AI result=" + result);