improve chatglm support (#696, #464)

This commit is contained in:
josc146
2024-08-04 23:03:20 +08:00
parent 12ef5e8650
commit 9c371f7993
5 changed files with 18 additions and 116 deletions
+5 -2
View File
@@ -63,7 +63,7 @@ export const claudeApiModelKeys = [
'claude3SonnetApi',
'claude3OpusApi',
]
export const chatglmApiModelKeys = ['chatglmTurbo']
export const chatglmApiModelKeys = ['chatglmTurbo', 'chatglm4', 'chatglmEmohaa', 'chatglmCharGLM3']
export const githubThirdPartyApiModelKeys = ['waylaidwandererApi']
export const poeWebModelKeys = [
'poeAiWebSage', //poe.com/Assistant
@@ -145,7 +145,10 @@ export const Models = {
bardWebFree: { value: '', desc: 'Gemini (Web)' },
chatglmTurbo: { value: 'chatglm_turbo', desc: 'ChatGLM (ChatGLM-Turbo)' },
chatglmTurbo: { value: 'GLM-4-Air', desc: 'ChatGLM (GLM-4-Air)' },
chatglm4: { value: 'GLM-4-0520', desc: 'ChatGLM (GLM-4-0520)' },
chatglmEmohaa: { value: 'Emohaa', desc: 'ChatGLM (Emohaa)' },
chatglmCharGLM3: { value: 'CharGLM-3', desc: 'ChatGLM (CharGLM-3)' },
chatgptFree35Mobile: { value: 'text-davinci-002-render-sha-mobile', desc: 'ChatGPT (Mobile)' },
chatgptPlus4Mobile: { value: 'gpt-4-mobile', desc: 'ChatGPT (Mobile, GPT-4)' },