feat: update claude models

This commit is contained in:
1808837298@qq.com
2024-10-24 00:17:23 +08:00
parent 8b67664995
commit 312ab44800
4 changed files with 10 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ func awsModelID(requestModel string) (string, error) {
return awsModelID, nil
}
return "", errors.Errorf("model %s not found", requestModel)
return requestModel, nil
}
func awsHandler(c *gin.Context, info *relaycommon.RelayInfo, requestMode int) (*relaymodel.OpenAIErrorWithStatusCode, *relaymodel.Usage) {