支持ZhipuAI GLM系列模型和画图代码

This commit is contained in:
zR
2024-02-01 11:31:56 +08:00
parent 7e0fbd600f
commit d6fdf8ca2a
9 changed files with 248 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ LINKAI = "linkai"
CLAUDEAI = "claude"
QWEN = "qwen"
GEMINI = "gemini"
ZHIPU_AI = "glm-4"
# 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, ZHIPU_AI]
# channel
FEISHU = "feishu"