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 ad07a3b commit 573e8c3Copy full SHA for 573e8c3
common/chat.cpp
@@ -116,15 +116,6 @@ std::vector<common_chat_msg_diff> common_chat_msg_diff::compute_diffs(const comm
116
return diffs;
117
}
118
119
-static std::string format_time(const std::chrono::system_clock::time_point & now, const std::string & format) {
120
- auto time = std::chrono::system_clock::to_time_t(now);
121
- auto local_time = *std::localtime(&time);
122
- std::ostringstream ss;
123
- ss << std::put_time(&local_time, format.c_str());
124
- auto res = ss.str();
125
- return res;
126
-}
127
-
128
typedef minja::chat_template common_chat_template;
129
130
struct common_chat_templates {
0 commit comments