mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 09:48:22 +08:00
feat: 增加智谱chatglm4模型支持
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user