common/parser: fix nasty bug causing subtle corruption of generation prompt (#20825)
This commit is contained in:
committed by
GitHub
parent
e6ec21e62f
commit
b1c70e2e54
+1
-1
@@ -1337,7 +1337,7 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
|
||||
tst.test("I'm\nthinking\n</think>\nHello, world!\nWhat's up?")
|
||||
.enable_thinking(true)
|
||||
.reasoning_format(COMMON_REASONING_FORMAT_NONE)
|
||||
.expect_content("<think>I'm\nthinking\n</think>\nHello, world!\nWhat's up?")
|
||||
.expect_content("<think>\nI'm\nthinking\n</think>\nHello, world!\nWhat's up?")
|
||||
.run();
|
||||
|
||||
tst.test("I'm\nthinking\n</think>\nHello, world!\nWhat's up?")
|
||||
|
||||
Reference in New Issue
Block a user