File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1321,14 +1321,10 @@ void start_server(SDParams params) {
1321
1321
sd_log (sd_log_level_t ::SD_LOG_INFO, " raw body is: %s\n " , req.body .c_str ());
1322
1322
// parse req.body as json using jsoncpp
1323
1323
bool updateCTX = false ;
1324
- sd_log (sd_log_level_t ::SD_LOG_WARN, " size : %d bytes\n " , req.body .length ());
1325
1324
try {
1326
- sd_log (sd_log_level_t ::SD_LOG_WARN, " About to parse\n " );
1327
1325
std::string json_str = req.body ;
1328
- sd_log (sd_log_level_t ::SD_LOG_WARN, " About to parse for real\n " );
1329
1326
1330
1327
updateCTX = parseJsonPrompt (json_str, ¶ms);
1331
- sd_log (sd_log_level_t ::SD_LOG_WARN, " parsed\n " );
1332
1328
} catch (json::parse_error& e) {
1333
1329
// assume the request is just a prompt
1334
1330
// LOG_WARN("Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
You can’t perform that action at this time.
0 commit comments