Skip to content

Commit 10feda0

Browse files
committed
server: oops
1 parent 5927a7b commit 10feda0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/server/main.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,8 @@ int main(int argc, const char* argv[]) {
731731
parseJsonPrompt(json_str, &params);
732732
} catch (json::parse_error& e) {
733733
// assume the request is just a prompt
734-
LOG_WARN("Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
734+
// LOG_WARN("Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
735+
sd_log(sd_log_level_t::SD_LOG_WARN, "Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
735736
std::string prompt = req.body;
736737
if (!prompt.empty()) {
737738
params.prompt = prompt;

0 commit comments

Comments
 (0)