remove unnecessary llm refusal guard
This commit is contained in:
1 parent
912417792f
commit
aa25693091
3 files changed
+5
-24
No files matched your search
@@ -61,11 +61,6 @@ def test_humanize_falls_back_on_empty_reply():
|
||||
assert Humanizer(client).humanize("raw result") == "raw result"
|
||||
|
||||
|
||||
def test_humanize_falls_back_on_refusal():
|
||||
client = FakeClient(reply="I cannot rewrite that.")
|
||||
assert Humanizer(client).humanize("raw result") == "raw result"
|
||||
|
||||
|
||||
def test_humanize_falls_back_on_runaway_length():
|
||||
client = FakeClient(reply="x" * 1000)
|
||||
assert Humanizer(client, max_chars=100).humanize("raw") == "raw"
|
||||
|
||||
Reference in new issue
Block a user