mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-27 12:33:15 +08:00
plugins: support openaibot
This commit is contained in:
@@ -52,7 +52,7 @@ class Dungeon(Plugin):
|
||||
if e_context['context'].type != ContextType.TEXT:
|
||||
return
|
||||
bottype = Bridge().get_bot_type("chat")
|
||||
if bottype != const.CHATGPT:
|
||||
if bottype not in (const.CHATGPT, const.OPEN_AI):
|
||||
return
|
||||
bot = Bridge().get_bot("chat")
|
||||
content = e_context['context'].content[:]
|
||||
|
||||
Reference in New Issue
Block a user