Skip to content

Commit 34f54dd

Browse files
author
Olivier Chafik
committed
Fix typo
1 parent 729d2d3 commit 34f54dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ static common_chat_params common_chat_params_init_without_tools(const common_cha
772772

773773
common_chat_params common_chat_params_init(const common_chat_template & tmpl, const struct common_chat_inputs & inputs) {
774774
auto has_tools = !inputs.tools.is_null() && inputs.tool_choice != "none";
775-
LOG_DBG("[%s] has_tools=%d\n", __func__, has_tools ? "true" : "false");
775+
LOG_DBG("[%s] has_tools=%s\n", __func__, has_tools ? "true" : "false");
776776

777777
if (has_tools && !inputs.grammar.empty()) {
778778
throw std::runtime_error("Cannot specify grammar with tools");

0 commit comments

Comments
 (0)