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
fix: make dev-app command error on Linux
Manx981d1d3de76ab5
diff --git a/scripts/dev.sh b/scripts/dev.shindex 2b750cb17..0ed362e63 100755--- a/scripts/dev.sh+++ b/scripts/dev.sh@@ -271,7 +271,9 @@ start_app() {log_info "数据库地址: $DB_HOST:${DB_PORT:-5432}"export CGO_CFLAGS="-Wno-deprecated-declarations -Wno-gnu-folding-constant"- export CGO_LDFLAGS="-Wl,-no_warn_duplicate_libraries"+ if [[ "$(uname)" == "Darwin" ]]; then+ export CGO_LDFLAGS="-Wl,-no_warn_duplicate_libraries"+ fi# 检查是否安装了 Air(热重载工具)if command -v air &> /dev/null; then