Skip to content

Commit

Permalink
server: oops
Browse files Browse the repository at this point in the history
  • Loading branch information
stduhpf committed Oct 4, 2024
1 parent 5927a7b commit 10feda0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/server/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,8 @@ int main(int argc, const char* argv[]) {
parseJsonPrompt(json_str, &params);
} catch (json::parse_error& e) {
// assume the request is just a prompt
LOG_WARN("Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
// LOG_WARN("Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
sd_log(sd_log_level_t::SD_LOG_WARN, "Failed to parse json: %s\n Assuming it's just a prompt...\n", e.what());
std::string prompt = req.body;
if (!prompt.empty()) {
params.prompt = prompt;
Expand Down

0 comments on commit 10feda0

Please sign in to comment.