Skip to content

Distribute and run LLMs with a single file.

disable for ascii 0

CJ Paisd108545b6765
diff --git a/localscore/utils.h b/localscore/utils.h
index 2d365777..becdfede 100644
--- a/localscore/utils.h
+++ b/localscore/utils.h
@@ -188,7 +188,7 @@ namespace utils {
inline bool should_use_color() {
const char* no_color = getenv("NO_COLOR");
- if (no_color != NULL && no_color[0] != '\0') {
+ if (no_color != NULL && no_color[0] != '0' && no_color[0] != '\0') {
return false;
}
return true;