Merge pull request #24 from codefuse-ai/issue23

[fix issue#23] import error
This commit is contained in:
lightislost 2024-02-19 10:51:23 +08:00 committed by GitHub
commit 3b016353da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def get_model_worker_config(
加载model worker的配置项
优先级: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.update(online_llm_model.get(model_name, {}).copy())