fix: Correct Default Model Name in Response Sender and Update Anthropics 🤖 (#1208)

* feat: add claude-2.1 to default anthropic models

* chore: remove console log in NavLinks

* fix: issue with response sender not using model name, change anthropic default value to Claude

* fix: preset will not be selected on edit
This commit is contained in:
Danny Avila 2023-11-22 18:29:09 -05:00 committed by GitHub
parent f3402401f1
commit 5e6f8cbce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -381,7 +381,7 @@ const getResponseSender = (endpointOption) => {
}
if (endpoint === EModelEndpoint.anthropic) {
return modelLabel ?? 'Anthropic';
return modelLabel ?? 'Claude';
}
if (endpoint === EModelEndpoint.google) {

View file

@ -115,11 +115,12 @@ const getChatGPTBrowserModels = () => {
const getAnthropicModels = () => {
let models = [
'claude-2.1',
'claude-2',
'claude-1',
'claude-1-100k',
'claude-instant-1',
'claude-instant-1-100k',
'claude-2',
];
if (ANTHROPIC_MODELS) {
models = String(ANTHROPIC_MODELS).split(',');