From 387b4cb9672e0b1da1c1dcd29740593f5cad8799 Mon Sep 17 00:00:00 2001 From: liunux4odoo Date: Thu, 5 Oct 2023 22:46:31 +0800 Subject: [PATCH] =?UTF-8?q?fix=20#1638:=20baichuan-api=E6=9C=AA=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/server_config.py.example | 3 +++ server/model_workers/__init__.py | 1 + 2 files changed, 4 insertions(+) diff --git a/configs/server_config.py.example b/configs/server_config.py.example index 1268787..801e6d2 100644 --- a/configs/server_config.py.example +++ b/configs/server_config.py.example @@ -112,6 +112,9 @@ FSCHAT_MODEL_WORKERS = { "qwen-api": { "port": 21006, }, + "baichuan-api": { + "port": 21007, + }, } # fastchat multi model worker server diff --git a/server/model_workers/__init__.py b/server/model_workers/__init__.py index c1a824b..10f6da1 100644 --- a/server/model_workers/__init__.py +++ b/server/model_workers/__init__.py @@ -4,3 +4,4 @@ from .xinghuo import XingHuoWorker from .qianfan import QianFanWorker from .fangzhou import FangZhouWorker from .qwen import QwenWorker +from .baichuan import BaiChuanWorker