fix: role,dungeon,godcmd support azure bot

This commit is contained in:
lanvent
2023-04-26 01:05:23 +08:00
parent 38c653d8d8
commit 8781b1e976
3 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class Dungeon(Plugin):
if e_context["context"].type != ContextType.TEXT:
return
bottype = Bridge().get_bot_type("chat")
if bottype not in (const.CHATGPT, const.OPEN_AI):
if bottype not in [const.OPEN_AI, const.CHATGPT, const.CHATGPTONAZURE]:
return
bot = Bridge().get_bot("chat")
content = e_context["context"].content[:]