fix: build.sh - skip pip install for rag-pipeline, handle missing repos gracefully
This commit is contained in:
parent
d9440440c4
commit
b7b37f13cf
11
build.sh
11
build.sh
@ -23,14 +23,17 @@ for repo in apppublic sqlor ahserver rbac appbase bricks-for-python; do
|
||||
pip install -q -e pkgs/$repo
|
||||
done
|
||||
|
||||
# Clone and install rag-pipeline (core engine)
|
||||
# Clone and install rag-pipeline (core engine - add to PYTHONPATH, not pip install)
|
||||
[ -d pkgs/rag-pipeline ] || git clone git@git.opencomputing.cn:yumoqing/rag-pipeline.git pkgs/rag-pipeline
|
||||
pip install -q -e pkgs/rag-pipeline
|
||||
# rag-pipeline is imported directly, not via pip
|
||||
|
||||
# Clone service modules (for reference, not imported)
|
||||
for svc in clip_embedding vdb bge-reranker face-service graph-service ner-service speaker-id; do
|
||||
[ -d pkgs/$svc ] || git clone git@git.opencomputing.cn:yumoqing/$svc.git pkgs/$svc
|
||||
for svc in clip_embedding vdb face-service graph-service ner-service; do
|
||||
[ -d pkgs/$svc ] || git clone git@git.opencomputing.cn:yumoqing/$svc.git pkgs/$svc 2>/dev/null || echo "Skip $svc (repo may not exist yet)"
|
||||
done
|
||||
# bge-reranker and speaker-id repos may not exist yet
|
||||
[ -d pkgs/bge-reranker ] || git clone git@git.opencomputing.cn:yumoqing/bge-reranker.git pkgs/bge-reranker 2>/dev/null || echo "Skip bge-reranker"
|
||||
[ -d pkgs/speaker-id ] || git clone git@git.opencomputing.cn:yumoqing/speaker-id.git pkgs/speaker-id 2>/dev/null || echo "Skip speaker-id"
|
||||
|
||||
# Build bricks frontend
|
||||
if [ ! -d pkgs/bricks ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user