Merge pull request #29 from devchat-ai/feature/model-name-overhaul-#247

Clarify and Rename Model Selection Display Names
This commit is contained in:
boob.yang 2024-02-06 10:56:03 +08:00 committed by GitHub
commit 92cc897e32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];