feat: 增加智谱chatglm4模型支持

This commit is contained in:
weishao zeng
2024-01-30 10:17:53 +08:00
parent 7e0fbd600f
commit ced0fa4608
7 changed files with 218 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ LINKAI = "linkai"
CLAUDEAI = "claude"
QWEN = "qwen"
GEMINI = "gemini"
CHATGLM = "chatglm"
# model
GPT35 = "gpt-3.5-turbo"
@@ -19,7 +20,7 @@ TTS_1 = "tts-1"
TTS_1_HD = "tts-1-hd"
MODEL_LIST = ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4", "wenxin", "wenxin-4", "xunfei", "claude", "gpt-4-turbo",
"gpt-4-turbo-preview", "gpt-4-1106-preview", GPT4_TURBO_PREVIEW, QWEN, GEMINI]
"gpt-4-turbo-preview", "gpt-4-1106-preview", GPT4_TURBO_PREVIEW, QWEN, GEMINI, CHATGLM]
# channel
FEISHU = "feishu"