支持ZhipuAI GLM系列模型和画图代码

This commit is contained in:
zR
2024-02-01 11:31:56 +08:00
parent 7e0fbd600f
commit d6fdf8ca2a
9 changed files with 248 additions and 4 deletions

View File

@@ -52,4 +52,8 @@ def create_bot(bot_type):
from bot.gemini.google_gemini_bot import GoogleGeminiBot
return GoogleGeminiBot()
elif bot_type == const.ZHIPU_AI:
from bot.zhipuai.zhipuai_bot import ZHIPUAIBot
return ZHIPUAIBot()
raise RuntimeError