File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 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) {
13211321 sd_log (sd_log_level_t ::SD_LOG_INFO, " raw body is: %s\n " , req.body .c_str ());
13221322 // parse req.body as json using jsoncpp
13231323 bool updateCTX = false ;
1324- sd_log (sd_log_level_t ::SD_LOG_WARN, " size : %d bytes\n " , req.body .length ());
13251324 try {
1326- sd_log (sd_log_level_t ::SD_LOG_WARN, " About to parse\n " );
13271325 std::string json_str = req.body ;
1328- sd_log (sd_log_level_t ::SD_LOG_WARN, " About to parse for real\n " );
13291326
13301327 updateCTX = parseJsonPrompt (json_str, ¶ms);
1331- sd_log (sd_log_level_t ::SD_LOG_WARN, " parsed\n " );
13321328 } catch (json::parse_error& e) {
13331329 // assume the request is just a prompt
13341330 // 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