From 9e4a5595c6e22445dd1a92cac1b80d6af1d74206 Mon Sep 17 00:00:00 2001 From: bobo Date: Tue, 6 Feb 2024 10:51:30 +0800 Subject: [PATCH] feat: Update display names for model selection - Revise model names for clarity and uniformity - Include new model entries xinghuo-3.5, GLM-4, and others - Ensure names are concise and reflective of model characteristics --- src/views/components/InputMessage/index.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/components/InputMessage/index.tsx b/src/views/components/InputMessage/index.tsx index d5b3412..85ccfea 100644 --- a/src/views/components/InputMessage/index.tsx +++ b/src/views/components/InputMessage/index.tsx @@ -240,8 +240,15 @@ const InputMessage = observer((props: any) => { const nameMap = { "gpt-3.5-turbo": "GPT-3.5", "gpt-4": "GPT-4", - "gpt-4-1106-preview": "GPT-4-turbo", - "claude-2.1": "CLAUDE 2.1", + "gpt-4-turbo-preview": "GPT-4-turbo", + "claude-2.1": "CLAUDE-2.1", + "xinghuo-3.5": "xinghuo-3.5", + "GLM-4": "GLM-4", + "ERNIE-Bot-4.0": "ERNIE-Bot-4.0", + "togetherai/codellama/CodeLlama-70b-Instruct-hf": "CodeLlama-70b", + "togetherai/mistralai/Mixtral-8x7B-Instruct-v0.1": "Mixtral-8x7B", + "minimax/abab6-chat": "minimax-abab6", + "llama-2-70b-chat": "llama2-70b", }; if (modelName in nameMap) { return nameMap[modelName];