Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion engine/common/message_content_text.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ struct Text : JsonSerializable {
}
json["annotations"] = annotations_json_arr;
return json;
} catch (const std::exception e) {
} catch (const std::exception & e) {
return cpp::fail(std::string("ToJson failed: ") + e.what());
}
};
Expand Down
11 changes: 6 additions & 5 deletions engine/utils/hardware/gguf/gguf_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
#include "ggml.h"
#include "utils/logging_utils.h"
#include "utils/string_utils.h"

// #define GGUF_LOG(msg) \
// do { \
// std::cout << __FILE__ << "(@" << __LINE__ << "): " << msg << '\n'; \
// } while (false)
/*
#define GGUF_LOG(msg) \
do { \
std::cout << __FILE__ << "(@" << __LINE__ << "): " << msg << '\n'; \
} while (false)
*/

#define GGUF_LOG(msg)
namespace hardware {
Expand Down
Loading