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 ac6ed1e commit 3843d94Copy full SHA for 3843d94
tests/test-chat-parser.cpp
@@ -307,7 +307,7 @@ static void test_deepseek_v3_1_tool_calls() {
307
/* .thinking_forced_open = */ true,
308
/* .parse_tool_calls = */ true,
309
};
310
- const char* variant = "thinking_forced_open_tool_call_in_reasoning_no_closing_think";
+ const std::string variant("thinking_forced_open_tool_call_in_reasoning_no_closing_think");
311
const std::string in = "REASONING<|tool▁calls▁begin|><|tool▁call▁begin|>get_time2<|tool▁sep|>{\"city\": \"Tokyo2\"}<|tool▁call▁end|><|tool▁calls▁end|>REASONING";
312
auto m = common_chat_parse(in, false, syntax);
313
assert_equals<std::size_t>(variant, 0, m.tool_calls.size());
0 commit comments