nsarrazin HF staff commited on
Commit
b5041c1
1 Parent(s): 9db8ced

fix: Rename sagemaker endpoint to aws endpoint

Browse files
Files changed (1) hide show
  1. src/lib/server/models.ts +1 -1
src/lib/server/models.ts CHANGED
@@ -94,7 +94,7 @@ const addEndpoint = (m: Awaited<ReturnType<typeof processModel>>) => ({
94
  if (args.type === "tgi") {
95
  return endpoints.tgi(args);
96
  } else if (args.type === "aws") {
97
- return await endpoints.sagemaker(args);
98
  } else if (args.type === "openai") {
99
  return await endpoints.openai(args);
100
  } else if (args.type === "llamacpp") {
 
94
  if (args.type === "tgi") {
95
  return endpoints.tgi(args);
96
  } else if (args.type === "aws") {
97
+ return await endpoints.aws(args);
98
  } else if (args.type === "openai") {
99
  return await endpoints.openai(args);
100
  } else if (args.type === "llamacpp") {