加入了新的模型,使用更强的模型玩

This commit is contained in:
liuwei
2025-02-12 16:34:32 +08:00
parent c33d7bf58d
commit 0408bdb21c
7 changed files with 169 additions and 23 deletions

View File

@@ -10,12 +10,13 @@ class ChatType(IntEnum):
CHATGLM = 4 # ChatGLM
BardAssistant = 5 # Google Bard
ZhiPu = 6 # ZhiPu
CLAUDE = 7 # CLAUDE
@staticmethod
def is_in_chat_types(chat_type: int) -> bool:
if chat_type in [ChatType.TIGER_BOT.value, ChatType.CHATGPT.value,
ChatType.XINGHUO_WEB.value, ChatType.CHATGLM.value,
ChatType.BardAssistant.value, ChatType.ZhiPu.value]:
ChatType.BardAssistant.value, ChatType.ZhiPu.value, ChatType.CLAUDE.value]:
return True
return False