Skip to content

Commit 10d7a5a

Browse files
flozi00nsarrazin
andauthored
Make lorax openai endpoint working (#755)
make base model for lorax inference working Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
1 parent 7c22da3 commit 10d7a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const modelConfig = z.object({
2222
/** Used as an identifier in DB */
2323
id: z.string().optional(),
2424
/** Used to link to the model page, and for inference */
25-
name: z.string().min(1),
25+
name: z.string().default(""),
2626
displayName: z.string().min(1).optional(),
2727
description: z.string().min(1).optional(),
2828
websiteUrl: z.string().url().optional(),

0 commit comments

Comments
 (0)