From e8556c795be700f05915357dd4f11563edc1c4b9 Mon Sep 17 00:00:00 2001 From: glide-the <2533736852@qq.com> Date: Wed, 12 Jun 2024 11:43:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/chatchat-server/pyproject.toml | 4 ++-- libs/model-providers/pyproject.toml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/chatchat-server/pyproject.toml b/libs/chatchat-server/pyproject.toml index e05f00c6..68f99f8a 100644 --- a/libs/chatchat-server/pyproject.toml +++ b/libs/chatchat-server/pyproject.toml @@ -16,10 +16,10 @@ chatchat-config = 'chatchat.config_work_space:main' [tool.poetry.dependencies] python = ">=3.8.1,<3.12,!=3.9.7" model-providers = "^0.3.0" -langchain = "0.1.17" +langchain = { version = "0.1.17", python = ">=3.8.1,<3.12,!=3.9.7" } langchainhub = "0.1.14" langchain-community = "0.0.36" -langchain-openai = "0.0.5" +langchain-openai = { version = "0.0.5", python = ">=3.8.1,<3.12,!=3.9.7" } langchain-experimental = "0.0.58" fastapi = "~0.109.2" sse_starlette = "~1.8.2" diff --git a/libs/model-providers/pyproject.toml b/libs/model-providers/pyproject.toml index 474216fd..cc79dcfb 100644 --- a/libs/model-providers/pyproject.toml +++ b/libs/model-providers/pyproject.toml @@ -17,7 +17,7 @@ pydantic ="~2.6.4" omegaconf = "~2.0.6" # modle_runtime openai = "~1.13.3" -tiktoken = "~0.7.0" +tiktoken = ">=0.5.2" pydub = "~0.25.1" boto3 = "~1.28.17" @@ -39,7 +39,8 @@ pytest-mock = "^3.10.0" pytest-socket = "^0.6.0" syrupy = "^4.0.2" requests-mock = "^1.11.0" -langchain = { version = "0.1.5", python = ">=3.8.1,<3.12,!=3.9.7" } + +langchain = { version = "0.1.17", python = ">=3.8.1,<3.12,!=3.9.7" } langchain-openai = { version = "0.0.5", python = ">=3.8.1,<3.12,!=3.9.7" } [tool.poetry.group.lint]