fix(infra): fix the problem of incorrect package paths when use make debug command starts (#2295)

This commit is contained in:
Hanabi
2025-09-29 16:53:48 +08:00
committed by GitHub
parent 4789889b17
commit 46f1fddbca
2 changed files with 5 additions and 5 deletions

View File

@ -40,10 +40,10 @@ fi
echo "Python packages installed successfully!"
deactivate
PARSER_SCRIPT_ROOT="$BACKEND_DIR/infra/impl/document/parser/builtin"
PARSER_SCRIPT_ROOT="$BACKEND_DIR/infra/document/parser/impl/builtin"
PDF_PARSER="$PARSER_SCRIPT_ROOT/parse_pdf.py"
DOCX_PARSER="$PARSER_SCRIPT_ROOT/parse_docx.py"
WORKFLOW_SANBOX="$BACKEND_DIR/infra/impl/coderunner/script/sandbox.py"
WORKFLOW_SANBOX="$BACKEND_DIR/infra/coderunner/impl/script/sandbox.py"
if [ -f "$PDF_PARSER" ]; then
cp "$PDF_PARSER" "$BIN_DIR/parse_pdf.py"