[fix issue#23] import error

This commit is contained in:
shanshi 2024-02-19 10:38:32 +08:00
parent 66d029d276
commit 8c57a9c9b2
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def get_model_worker_config(
加载model worker的配置项 加载model worker的配置项
优先级:FSCHAT_MODEL_WORKERS[model_name] > ONLINE_LLM_MODEL[model_name] > FSCHAT_MODEL_WORKERS["default"] 优先级:FSCHAT_MODEL_WORKERS[model_name] > ONLINE_LLM_MODEL[model_name] > FSCHAT_MODEL_WORKERS["default"]
''' '''
from coagent.service import model_workers import model_workers
config = fastchat_mdoel_workers.get("default", {}).copy() config = fastchat_mdoel_workers.get("default", {}).copy()
config.update(online_llm_model.get(model_name, {}).copy()) config.update(online_llm_model.get(model_name, {}).copy())