@@ -630,7 +630,7 @@ void parseJsonPrompt(std::string json_str, SDParams* params) {
630
630
std::string sample_method = payload[" sample_method" ];
631
631
// TODO map to enum value
632
632
// LOG_WARN("sample_method is not supported yet\n");
633
- sd_log (sd_log_level_t ::SD_LOG_WARN, " sample_method is not supported yet\n " , params );
633
+ sd_log (sd_log_level_t ::SD_LOG_WARN, " sample_method is not supported yet\n " );
634
634
} catch (...) {
635
635
}
636
636
try {
@@ -653,7 +653,7 @@ void parseJsonPrompt(std::string json_str, SDParams* params) {
653
653
std::string control_cond = payload[" control_cond" ];
654
654
// TODO map to enum value
655
655
// LOG_WARN("control_cond is not supported yet\n");
656
- sd_log (sd_log_level_t ::SD_LOG_WARN, " control_cond is not supported yet\n " , params );
656
+ sd_log (sd_log_level_t ::SD_LOG_WARN, " control_cond is not supported yet\n " );
657
657
} catch (...) {
658
658
}
659
659
try {
@@ -741,7 +741,7 @@ int main(int argc, const char* argv[]) {
741
741
} catch (...) {
742
742
// Handle any other type of exception
743
743
// LOG_ERROR("An unexpected error occurred\n");
744
- sd_log (sd_log_level_t ::SD_LOG_ERROR, " An unexpected error occurred\n " , params );
744
+ sd_log (sd_log_level_t ::SD_LOG_ERROR, " An unexpected error occurred\n " );
745
745
}
746
746
// LOG_DEBUG("prompt is: %s\n", params.prompt.c_str());
747
747
sd_log (sd_log_level_t ::SD_LOG_DEBUG, " prompt is: %s\n " , params.prompt .c_str ());
0 commit comments