Add support for ModelScope API

This commit is contained in:
yanrk123
2025-03-11 11:12:57 +08:00
parent 436c038a2f
commit 3e185dbbfe
8 changed files with 219 additions and 4 deletions

View File

@@ -68,5 +68,9 @@ def create_bot(bot_type):
from bot.minimax.minimax_bot import MinimaxBot
return MinimaxBot()
elif bot_type == const.MODELSCOPE:
from bot.modelscope.modelscope_bot import ModelScopeBot
return ModelScopeBot()
raise RuntimeError