Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
修复bug:脚本检查系统环境时如果操作系统是Darwin,检查内存使用情况输出为空,原因是正则表达式有问题
fuyaozonga625eff5251f
diff --git a/scripts/start_all.sh b/scripts/start_all.shindex dc205ff63..56abcdcb6 100755--- a/scripts/start_all.sh+++ b/scripts/start_all.sh@@ -538,7 +538,7 @@ check_environment() {# 检查内存log_info "检查内存使用情况..."if [ "$OS" = "Darwin" ]; then- vm_stat | perl -ne '/page size of (\d+)/ and $size=$1; /Pages free: (\d+)/ and print "Free Memory: ", $1 * $size / 1048576, " MB\n"'+ vm_stat | perl -ne '/page size of (\d+)/ and $size=$1; /Pages free:\s*(\d+)/ and print "Free Memory: ", $1 * $size / 1048576, " MB\n"'elsefree -h | grep -E "(total|Mem:)"fi