mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-23 02:44:08 +01:00
🤖 feat: Add support for claude-3-5-sonnet-20241022 (#4510)
This commit is contained in:
parent
ebe3e7f796
commit
4da35b9cf5
6 changed files with 36 additions and 5 deletions
|
|
@ -682,6 +682,9 @@ class AnthropicClient extends BaseClient {
|
|||
*/
|
||||
checkPromptCacheSupport(modelName) {
|
||||
const modelMatch = matchModelName(modelName, EModelEndpoint.anthropic);
|
||||
if (modelMatch.includes('claude-3-5-sonnet-latest')) {
|
||||
return false;
|
||||
}
|
||||
if (
|
||||
modelMatch === 'claude-3-5-sonnet' ||
|
||||
modelMatch === 'claude-3-haiku' ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue