nsarrazin HF staff commited on
Commit
6cfb775
1 Parent(s): 683ef2f

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().min(1).default(HF_ACCESS_TOKEN),
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({