Compare commits

...
6 changed files with 13 additions and 9 deletions
+1
View File
@@ -175,6 +175,7 @@ docker/volumes/pgvector/data/*
docker/volumes/pgvecto_rs/data/*
docker/volumes/couchbase/*
docker/volumes/oceanbase/*
docker/volumes/plugin_daemon/*
!docker/volumes/oceanbase/init.d
docker/nginx/conf.d/default.conf
+1 -1
View File
@@ -9,7 +9,7 @@ class PackagingInfo(BaseSettings):
CURRENT_VERSION: str = Field(
description="Dify version",
default="0.15.5",
default="0.15.6-alpha.1",
)
COMMIT_SHA: str = Field(
@@ -537,7 +537,6 @@ if you are not sure about the structure.
"""
raise NotImplementedError
@abstractmethod
def get_num_tokens(
self,
model: str,
@@ -915,3 +914,7 @@ if you are not sure about the structure.
filtered_model_parameters[parameter_name] = parameter_value
return filtered_model_parameters
def _get_num_tokens_by_gpt2(self, text: str) -> int:
# Disable the token count in LLMs for profermance testing.
return 0
+3 -3
View File
@@ -2,7 +2,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
image: langgenius/dify-api:0.15.5
image: langgenius/dify-api:0.15.6-alpha.1
restart: always
environment:
# Use the shared environment variables.
@@ -25,7 +25,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
image: langgenius/dify-api:0.15.5
image: langgenius/dify-api:0.15.6-alpha.1
restart: always
environment:
# Use the shared environment variables.
@@ -47,7 +47,7 @@ services:
# Frontend web application.
web:
image: langgenius/dify-web:0.15.5
image: langgenius/dify-web:0.15.6-alpha.1
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
+3 -3
View File
@@ -393,7 +393,7 @@ x-shared-env: &shared-api-worker-env
services:
# API service
api:
image: langgenius/dify-api:0.15.5
image: langgenius/dify-api:0.15.5-alpha.1
restart: always
environment:
# Use the shared environment variables.
@@ -416,7 +416,7 @@ services:
# worker service
# The Celery worker for processing the queue.
worker:
image: langgenius/dify-api:0.15.5
image: langgenius/dify-api:0.15.5-alpha.1
restart: always
environment:
# Use the shared environment variables.
@@ -438,7 +438,7 @@ services:
# Frontend web application.
web:
image: langgenius/dify-web:0.15.5
image: langgenius/dify-web:0.15.5-alpha.1
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dify-web",
"version": "0.15.5",
"version": "0.15.6-alpha.1",
"private": true,
"engines": {
"node": ">=18.17.0"