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 windows build
lyingbuga751e7335b6b
diff --git a/.github/workflows/release-lite.yml b/.github/workflows/release-lite.ymlindex c5f434a3d..3b384ade0 100644--- a/.github/workflows/release-lite.yml+++ b/.github/workflows/release-lite.yml@@ -201,10 +201,21 @@ jobs:fiecho "version=${VERSION}" >> "$GITHUB_OUTPUT"+ - name: Pre-compile Go packages (Windows)+ if: runner.os == 'Windows'+ shell: bash+ run: |+ export GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn+ export CGO_CFLAGS="-Wno-deprecated-declarations"+ cd cmd/desktop+ go build -p 1 -buildvcs=false -tags "desktop,sqlite_fts5,production" -o _prebuild_tmp.exe . || true+ rm -f _prebuild_tmp.exe+- name: Build desktop appshell: bashrun: |export EDITION=lite+ export GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warneval "$(./scripts/get_version.sh env)"LDFLAGS="$(./scripts/get_version.sh ldflags) -X 'google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn'"export CGO_CFLAGS="-Wno-deprecated-declarations"@@ -220,11 +231,10 @@ jobs:fiif [ "${{ runner.os }}" = "Windows" ]; thenNSIS_FLAG="-nsis"- export GOFLAGS="-p=1"ficd cmd/desktop- wails build -skipbindings -clean \+ wails build -clean \-tags "${BUILD_TAGS}" \-platform "${{ matrix.platform }}" \${NSIS_FLAG} \