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

@ -157,7 +157,7 @@ export default function useChatHelpers(index = 0, paramId: string | undefined) {
endpoint,
key: getExpiry(),
} as TEndpointOption;
const responseSender = getResponseSender(endpointOption);
const responseSender = getResponseSender({ model: conversation?.model, ...endpointOption });
let currentMessages: TMessage[] | null = getMessages() ?? [];