Skip system prompt for AI conditions

master
M66B 2 weeks ago
parent a2e3f6d00b
commit 42dfce1017

@ -504,7 +504,7 @@ public class ExpressionHelper {
if (doc != null && parameterValues.length == 1) { if (doc != null && parameterValues.length == 1) {
String prompt = parameterValues[0].getStringValue(); String prompt = parameterValues[0].getStringValue();
if (!TextUtils.isEmpty(prompt)) { if (!TextUtils.isEmpty(prompt)) {
result = AI.completeChat(context, -1L, true, doc.text(), null, prompt).toString(); result = AI.completeChat(context, -1L, false, 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