forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '8d9a45908397b3f3c0d56e86160bb97b5611b79b'
* commit '8d9a45908397b3f3c0d56e86160bb97b5611b79b': (240 commits) fix: remove obsoleted 'version' elements in compose files (langgenius#5553) chore: add a secondary confirmation dialog when the user delete the tool (langgenius#5634) fix: ro-RO is not a valid language (langgenius#5635) FR: langgenius#4048 - Add color customization to the chatbot (langgenius#4885) feat: tracing fe (langgenius#5487) feat: add ops trace (langgenius#5483) chore: cleanup test_delete_by_document_id method in opensearch vdb test (langgenius#5619) chore(pyproject.toml): Add Ruff formatter config. (langgenius#5627) Fix link to documentation of nodes (langgenius#5623) feat: undo/redo for workflow editor (langgenius#3927) fix: populate app configs to system environment variables (langgenius#5590) fix: DuckDuckGo image search tool error (langgenius#5606) delete the deprecated method (langgenius#5612) fix: context icon in chat (langgenius#5604) fix: Modify the incorrect configuration name for Google storage (langgenius#5595) feat: update issue template (langgenius#5592) chore: fix typo in config descriptions (langgenius#5585) fix: add support for FILE type in ToolParameterConverter (langgenius#5578) Fix/single run panel show parent scrollbar (langgenius#5574) refactor: extract cors configs into dify config and cleanup the config class (langgenius#5507) ... # Conflicts: # .github/workflows/build-push.yml # api/Dockerfile # api/core/helper/code_executor/code_executor.py # api/requirements.txt
- Loading branch information
Showing
1,308 changed files
with
44,250 additions
and
13,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cd api && pip install -r requirements.txt | ||
poetry install -C api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,26 +26,34 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
uses: abatilo/actions-poetry@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache: 'poetry' | ||
cache-dependency-path: | | ||
./api/requirements.txt | ||
./api/requirements-dev.txt | ||
api/pyproject.toml | ||
api/poetry.lock | ||
- name: Poetry check | ||
run: | | ||
poetry check -C api --lock | ||
poetry show -C api | ||
- name: Install dependencies | ||
run: pip install -r ./api/requirements.txt -r ./api/requirements-dev.txt | ||
run: poetry install -C api --with dev | ||
|
||
- name: Run Unit tests | ||
run: dev/pytest/pytest_unit_tests.sh | ||
run: poetry run -C api bash dev/pytest/pytest_unit_tests.sh | ||
|
||
- name: Run ModelRuntime | ||
run: dev/pytest/pytest_model_runtime.sh | ||
run: poetry run -C api bash dev/pytest/pytest_model_runtime.sh | ||
|
||
- name: Run Tool | ||
run: dev/pytest/pytest_tools.sh | ||
run: poetry run -C api bash dev/pytest/pytest_tools.sh | ||
|
||
- name: Set up Sandbox | ||
uses: hoverkraft-tech/[email protected] | ||
|
@@ -57,9 +65,9 @@ jobs: | |
ssrf_proxy | ||
- name: Run Workflow | ||
run: dev/pytest/pytest_workflow.sh | ||
run: poetry run -C api bash dev/pytest/pytest_workflow.sh | ||
|
||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS) | ||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma) | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: | | ||
|
@@ -68,6 +76,7 @@ jobs: | |
docker/docker-compose.milvus.yaml | ||
docker/docker-compose.pgvecto-rs.yaml | ||
docker/docker-compose.pgvector.yaml | ||
docker/docker-compose.chroma.yaml | ||
services: | | ||
weaviate | ||
qdrant | ||
|
@@ -76,6 +85,7 @@ jobs: | |
milvus-standalone | ||
pgvecto-rs | ||
pgvector | ||
chroma | ||
- name: Test Vector Stores | ||
run: dev/pytest/pytest_vdb.sh | ||
run: poetry run -C api bash dev/pytest/pytest_vdb.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,24 +23,29 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Poetry | ||
uses: abatilo/actions-poetry@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache: 'poetry' | ||
cache-dependency-path: | | ||
./api/requirements.txt | ||
api/pyproject.toml | ||
api/poetry.lock | ||
- name: Install dependencies | ||
run: pip install -r ./api/requirements.txt | ||
run: poetry install -C api | ||
|
||
- name: Set up Middleware | ||
- name: Set up Middlewares | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: | | ||
docker/docker-compose.middleware.yaml | ||
services: | | ||
db | ||
redis | ||
- name: Prepare configs | ||
run: | | ||
|
@@ -50,4 +55,4 @@ jobs: | |
- name: Run DB Migration | ||
run: | | ||
cd api | ||
flask db upgrade | ||
poetry run python -m flask upgrade-db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.