Spaces:
Build error
Build error
fix: Rename sagemaker endpoint to aws endpoint
Browse files- 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.
|
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") {
|