File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3934,7 +3934,7 @@ int main(int argc, char ** argv) {
39343934
39353935 const auto handle_completions = [&handle_completions_impl](const httplib::Request & req, httplib::Response & res) {
39363936 if (req.body .find (" chat_history" ) != std::string::npos) {
3937- res_ok (res, " " );
3937+ res_ok (res, {{ " success " , true }} );
39383938 return ;
39393939 }
39403940
@@ -3949,7 +3949,7 @@ int main(int argc, char ** argv) {
39493949
39503950 const auto handle_completions_oai = [&handle_completions_impl](const httplib::Request & req, httplib::Response & res) {
39513951 if (req.body .find (" chat_history" ) != std::string::npos) {
3952- res_ok (res, " " );
3952+ res_ok (res, {{ " success " , true }} );
39533953 return ;
39543954 }
39553955
@@ -4047,7 +4047,7 @@ int main(int argc, char ** argv) {
40474047 }
40484048
40494049 if (req.body .find (" chat_history" ) != std::string::npos) {
4050- res_ok (res, " " );
4050+ res_ok (res, {{ " success " , true }} );
40514051 return ;
40524052 }
40534053
You can’t perform that action at this time.
0 commit comments