Spaces:
Build error
Build error
remove min string size on accessToken
Browse files
src/lib/server/endpoints/tgi/endpointTgi.ts
CHANGED
@@ -9,7 +9,7 @@ export const endpointTgiParametersSchema = z.object({
|
|
9 |
model: z.any(),
|
10 |
type: z.literal("tgi"),
|
11 |
url: z.string().url(),
|
12 |
-
accessToken: z.string().
|
13 |
});
|
14 |
|
15 |
export function endpointTgi({
|
|
|
9 |
model: z.any(),
|
10 |
type: z.literal("tgi"),
|
11 |
url: z.string().url(),
|
12 |
+
accessToken: z.string().default(HF_ACCESS_TOKEN),
|
13 |
});
|
14 |
|
15 |
export function endpointTgi({
|