Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

462 B
Raw Blame
#!/bin/bash

# Update dependencies in dify/api project using uv
set -e
set -o pipefail

SCRIPT_DIR="$(dirname "$(realpath "$0")")"
REPO_ROOT="$(dirname "${SCRIPT_DIR}")"

# rely on `poetry` in path
if ! command -v uv &> /dev/null; then
    echo "Installing uv ..."
    pip install uv
fi

cd "${REPO_ROOT}"

# refreshing lockfile, updating locked versions
uv lock --project api --upgrade

# check uv.lock in sync with pyproject.toml
uv lock --project api --check