Skip to content

Commit

Permalink
fix: fix TypeError from attempting to unpack already-unpacked diction…
Browse files Browse the repository at this point in the history
…ary. (#959)
  • Loading branch information
erickgalinkin authored Jan 31, 2025
1 parent 10cb480 commit 44563bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemoguardrails/library/jailbreak_detection/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ async def jailbreak_detection_model(
# If no result, assume not a jailbreak
return False
else:
return jailbreak["jailbreak"]
return jailbreak

0 comments on commit 44563bf

Please sign in to comment.