fix(utils): cover complete trailing think markers
Made-with: Cursor
This commit is contained in:
1 parent
2c397ad442
commit
188e6df757
3 files changed
+25
-2
No files matched your search
@@ -105,10 +105,12 @@ class TestStripThinkMalformedLeaks:
|
||||
def test_partial_trailing_think_tag_after_visible_text(self):
|
||||
assert strip_think("喷泉策略说明 <thin") == "喷泉策略说明"
|
||||
assert strip_think("answer <thought") == "answer"
|
||||
assert strip_think("answer <think>") == "answer"
|
||||
|
||||
def test_partial_trailing_channel_marker_after_visible_text(self):
|
||||
assert strip_think("喷泉策略说明 <|chan") == "喷泉策略说明"
|
||||
assert strip_think("answer <channel") == "answer"
|
||||
assert strip_think("answer <|channel|>") == "answer"
|
||||
|
||||
|
||||
class TestStripThinkConservativePreserve:
|
||||
|
||||
Reference in new issue
Block a user