Skip to content

Commit 3843d94

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

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
@@ -307,7 +307,7 @@ static void test_deepseek_v3_1_tool_calls() {
307307
/* .thinking_forced_open = */ true,
308308
/* .parse_tool_calls = */ true,
309309
};
310-
const char* variant = "thinking_forced_open_tool_call_in_reasoning_no_closing_think";
310+
const std::string variant("thinking_forced_open_tool_call_in_reasoning_no_closing_think");
311311
const std::string in = "REASONING<|tool▁calls▁begin|><|tool▁call▁begin|>get_time2<|tool▁sep|>{\"city\": \"Tokyo2\"}<|tool▁call▁end|><|tool▁calls▁end|>REASONING";
312312
auto m = common_chat_parse(in, false, syntax);
313313
assert_equals<std::size_t>(variant, 0, m.tool_calls.size());

0 commit comments

Comments
 (0)