适配智谱

This commit is contained in:
yudong
2024-02-19 22:23:33 +08:00
parent 27277c97d2
commit 8c564fcb60
5 changed files with 59 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ class ChatType(IntEnum):
XINGHUO_WEB = 3 # 讯飞星火
CHATGLM = 4 # ChatGLM
BardAssistant = 5 # Google Bard
ZhiPu = 6 # ZhiPu
@staticmethod
def is_in_chat_types(chat_type: int) -> bool: