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 6773708 commit befa31cCopy full SHA for befa31c
tests/test-chat-parser.cpp
@@ -220,7 +220,7 @@ static void test_deepseek_v3_1_tool_calls() {
220
};
221
const std::string input = "<|tool▁calls▁begin|><|tool▁call▁begin|>get_time<|tool▁sep|>{\"city\": \"Tokyo\"}<|tool▁call▁end|><|tool▁calls▁end|>";
222
auto msg = common_chat_parse(input, false, syntax);
223
- assert_equals(variant, static_cast<std::size_t>(1), msg.tool_calls.size());
+ assert_equals<std::size_t>(variant, 1, msg.tool_calls.size());
224
assert_equals(variant, std::string("get_time"), msg.tool_calls[0].name);
225
// JSON arguments are dumped without spaces
226
assert_equals(variant, std::string("{\"city\":\"Tokyo\"}"), msg.tool_calls[0].arguments);
0 commit comments