Reduced logging

pull/217/head
M66B 11 months ago
parent bef1c42132
commit 3f9465ddb2

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

Loading…
Cancel
Save