Skip to content

Commit

Permalink
ruleorder
Browse files Browse the repository at this point in the history
  • Loading branch information
krichard1212 committed Sep 12, 2024
1 parent 10bdbe0 commit c66214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c66214d

Please sign in to comment.