From e06d94648a23867c1ac49fc7cfc350efa8ac9da1 Mon Sep 17 00:00:00 2001 From: awwaawwa <8493196+awwaawwa@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:43:21 +0800 Subject: [PATCH] feat: add vector database warm-up to GitHub Actions --- docs/GithubAction+NoLocal+Latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GithubAction+NoLocal+Latex b/docs/GithubAction+NoLocal+Latex index 67436530df..04073b5f93 100644 --- a/docs/GithubAction+NoLocal+Latex +++ b/docs/GithubAction+NoLocal+Latex @@ -27,7 +27,7 @@ COPY . . # RUN pip3 install -r requirements.txt # 可选步骤,用于预热模块 -RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()' +RUN python3 -c 'from check_proxy import warm_up_modules, warm_up_vectordb; warm_up_modules(); warm_up_vectordb();' # 启动 CMD ["python3", "-u", "main.py"]