From c67dad16174acd4cbd5e9cb441c1fbf5f2fd7b4d Mon Sep 17 00:00:00 2001 From: khanon Date: Fri, 25 Oct 2024 18:10:26 +0000 Subject: [PATCH] fixes AWS claude v2 --- src/proxy/aws-claude.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/proxy/aws-claude.ts b/src/proxy/aws-claude.ts index ab25eb5..fca43ac 100644 --- a/src/proxy/aws-claude.ts +++ b/src/proxy/aws-claude.ts @@ -206,6 +206,9 @@ function maybeReassignModel(req: Request) { case "2.0": req.body.model = "anthropic.claude-v2"; return; + case "2.1": + req.body.model = "anthropic.claude-v2:1"; + return; case "3": case "3.0": // there is only one snapshot for all Claude 3 models so there is no need