File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ struct server_task {
345345 auto it = data.find (" chat_format" );
346346 if (it != data.end ()) {
347347 params.oaicompat_chat_format = static_cast <common_chat_format>(it->get <int >());
348- LOG_DBG (" Chat format: %s\n " , common_chat_format_name (params.oaicompat_chat_format ).c_str ());
348+ LOG_INF (" Chat format: %s\n " , common_chat_format_name (params.oaicompat_chat_format ).c_str ());
349349 } else {
350350 params.oaicompat_chat_format = defaults.oaicompat_chat_format ;
351351 }
@@ -697,6 +697,7 @@ struct server_task_result_cmpl_final : server_task_result {
697697 std::string finish_reason = " length" ;
698698 common_chat_msg message;
699699 if (stop == STOP_TYPE_WORD || stop == STOP_TYPE_EOS) {
700+ LOG_DBG (" Parsing chat message: %s\n " , content.c_str ());
700701 message = common_chat_parse (content, oaicompat_chat_format);
701702 finish_reason = message.tool_calls .empty () ? " stop" : " tool_calls" ;
702703 } else {
You can’t perform that action at this time.
0 commit comments