We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155852a commit e587808Copy full SHA for e587808
tests/test-chat-parser.cpp
@@ -266,7 +266,7 @@ static void test_deepseek_v3_1_tool_calls() {
266
/* .thinking_forced_open = */ false,
267
/* .parse_tool_calls = */ true,
268
};
269
- const char* variant = "simple_multiple_tool_calls";
+ const std::string variant("simple_multiple_tool_calls");
270
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|>";
271
auto m = common_chat_parse(in, false, syntax);
272
assert_equals<std::size_t>(variant, 2, m.tool_calls.size());
0 commit comments