Merge pull request #1849 from wayshall/kimi

feat: 增加moonshot api集成
This commit is contained in:
zhayujie
2024-04-26 15:17:52 +08:00
committed by GitHub
5 changed files with 203 additions and 0 deletions

View File

@@ -61,5 +61,9 @@ def create_bot(bot_type):
from bot.zhipuai.zhipuai_bot import ZHIPUAIBot
return ZHIPUAIBot()
elif bot_type == const.MOONSHOT:
from bot.moonshot.moonshot_bot import MoonshotBot
return MoonshotBot()
raise RuntimeError