mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-31 10:04:32 +00:00
common/json-schema-to-grammar : align spacing rules with parsers (#24835)
This commit is contained in:
parent
4a80943174
commit
c57607016a
5 changed files with 202 additions and 202 deletions
|
|
@ -5022,14 +5022,14 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
|
|||
tst.test("Hello, world!\nWhat's up?").tools({ special_function_tool }).expect(message_assist).expect_reconstruction().run();
|
||||
|
||||
tst.test(
|
||||
"```json\n\"42\" \n```")
|
||||
"```json\n\"42\"\n```")
|
||||
.reasoning_format(COMMON_REASONING_FORMAT_AUTO)
|
||||
.json_schema(const_schema)
|
||||
.expect_content(R"("42")")
|
||||
.run();
|
||||
|
||||
tst.test(
|
||||
"\"42\" \n")
|
||||
"\"42\"\n")
|
||||
.reasoning_format(COMMON_REASONING_FORMAT_AUTO)
|
||||
.json_schema(const_schema)
|
||||
.expect_content(R"("42")")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue