fixes AWS claude v2

This commit is contained in:
khanon 2024-10-25 18:10:26 +00:00
parent fe61745e24
commit c67dad1617
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,9 @@ function maybeReassignModel(req: Request) {
case "2.0": case "2.0":
req.body.model = "anthropic.claude-v2"; req.body.model = "anthropic.claude-v2";
return; return;
case "2.1":
req.body.model = "anthropic.claude-v2:1";
return;
case "3": case "3":
case "3.0": case "3.0":
// there is only one snapshot for all Claude 3 models so there is no need // there is only one snapshot for all Claude 3 models so there is no need