Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix release (#16278)

Jin Hai919f596066a7
diff --git a/build.sh b/build.sh
index b25e51b62c..5d4350b107 100755
--- a/build.sh
+++ b/build.sh
@@ -267,7 +267,7 @@ build_go() {
go build -o "$INGESTOR_BINARY" cmd/ingestor.go
GOPROXY=${GOPROXY:-https://goproxy.cn,https://proxy.golang.org,direct} CGO_ENABLED=1 \
CGO_CFLAGS="$CGO_CFLAGS" CGO_LDFLAGS="$CGO_LDFLAGS" \
- go build -o "$RAGFLOW_CLI_BINARY" cmd/ragflow_cli.go
+ go build -o "$RAGFLOW_CLI_BINARY" cmd/ragflow-cli.go
if [ ! -f "$RAGFLOW_SERVER_BINARY" ]; then
echo -e "${RED}Error: Failed to build RAGFlow server binary${NC}"
diff --git a/cmd/ragflow_cli.go b/cmd/ragflow-cli.go
similarity index 100%
rename from cmd/ragflow_cli.go
rename to cmd/ragflow-cli.go
diff --git a/internal/cli/README.md b/internal/cli/README.md
index f9ad824357..f4c6f9df21 100644
--- a/internal/cli/README.md
+++ b/internal/cli/README.md
@@ -21,7 +21,7 @@ This is the Go implementation of the RAGFlow command-line interface, compatible
### Build and run
```bash
-go build -o ragflow-cli ./cmd/ragflow_cli.go
+go build -o ragflow-cli ./cmd/ragflow-cli.go
./ragflow-cli
```