Update tool-call.cpp

This commit is contained in:
ochafik 2024-10-23 21:21:39 +01:00
parent 2b49440011
commit 4394e1cd5e

View file

@ -292,7 +292,7 @@ static llama_tool_calls parse_mistral_nemo_tool_calls(const std::string& input)
} }
llama_tool_calls parse_tool_calls(llama_tool_call_style style, const json & tools, const std::string& input) { llama_tool_calls parse_tool_calls(llama_tool_call_style style, const json & tools, const std::string& input) {
fprintf(stderr, "# parse_tool_calls:\n\n%s\n\n", input.c_str()); // fprintf(stderr, "# parse_tool_calls:\n\n%s\n\n", input.c_str());
switch (style) { switch (style) {
case llama_tool_call_style::None: case llama_tool_call_style::None:
return {input, {}}; return {input, {}};