Skip to content

Commit e587808

Browse files
createthisCISC
andauthored
Update tests/test-chat-parser.cpp
Co-authored-by: Sigbjørn Skjæret <[email protected]>
1 parent 155852a commit e587808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-chat-parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static void test_deepseek_v3_1_tool_calls() {
266266
/* .thinking_forced_open = */ false,
267267
/* .parse_tool_calls = */ true,
268268
};
269-
const char* variant = "simple_multiple_tool_calls";
269+
const std::string variant("simple_multiple_tool_calls");
270270
const std::string in = "CONTENT<|tool▁calls▁begin|><|tool▁call▁begin|>get_time<|tool▁sep|>{\"city\": \"Paris\"}<|tool▁call▁end|><|tool▁call▁begin|>get_weather<|tool▁sep|>{\"city\": \"Paris\"}<|tool▁call▁end|><|tool▁calls▁end|>";
271271
auto m = common_chat_parse(in, false, syntax);
272272
assert_equals<std::size_t>(variant, 2, m.tool_calls.size());

0 commit comments

Comments
 (0)