File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ static void test_deepseek_v3_1_tool_calls() {
288288 /* .thinking_forced_open = */ true ,
289289 /* .parse_tool_calls = */ true ,
290290 };
291- const char * variant = " thinking_forced_open_tool_call_in_reasoning_fenced_thinking" ;
291+ const std::string variant ( " thinking_forced_open_tool_call_in_reasoning_fenced_thinking" ) ;
292292 const std::string in = " REASONING<|tool▁calls▁begin|><|tool▁call▁begin|>get_time2<|tool▁sep|>{\" city\" : \" Tokyo2\" }<|tool▁call▁end|><|tool▁calls▁end|>REASONING</think><|tool▁calls▁begin|><|tool▁call▁begin|>function<|tool▁sep|>get_time\n ```json\n {\" city\" : \" Tokyo\" }\n ```<|tool▁call▁end|><|tool▁calls▁end|>" ;
293293 auto m = common_chat_parse (in, false , syntax);
294294 assert_equals<std::size_t >(variant, 1 , m.tool_calls .size ());
You can’t perform that action at this time.
0 commit comments