From c66214dd7e715cf5de7b4ca0a9c1b842fdd1e168 Mon Sep 17 00:00:00 2001 From: krichard1212 Date: Thu, 12 Sep 2024 11:35:10 +0200 Subject: [PATCH] ruleorder --- rules/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/input.go b/rules/input.go index 6e81ea5..f405447 100644 --- a/rules/input.go +++ b/rules/input.go @@ -185,7 +185,7 @@ func handleRule(inputConfig lib.Rule, request interface{}, ruleType string) (boo case openai.ThreadRequest: extractedPrompt, userMessageIndex, err = extractUserPromptFromThread(req.Messages) if extractedPrompt == "" { - log.Printf("No user message found in the ThreadRequest, skipping rule %s", ruleType) + log.Println("No user message found in the ThreadRequest, skipping rule checking.") return false, "", nil } messages = req.Messages