feat: 增加智谱chatglm4模型支持

This commit is contained in:
weishao zeng
2024-01-30 10:17:53 +08:00
parent 7e0fbd600f
commit ced0fa4608
7 changed files with 218 additions and 1 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.CHATGLM:
from bot.zhipu.chat_glm_bot import ChatGLMBot
return ChatGLMBot()
raise RuntimeError