Skip to content

Commit

Permalink
Make lorax openai endpoint working (#755)
Browse files Browse the repository at this point in the history
make base model for lorax inference working

Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
  • Loading branch information
flozi00 and nsarrazin committed Feb 14, 2024
1 parent 7c22da3 commit 10d7a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const modelConfig = z.object({
/** Used as an identifier in DB */
id: z.string().optional(),
/** Used to link to the model page, and for inference */
name: z.string().min(1),
name: z.string().default(""),
displayName: z.string().min(1).optional(),
description: z.string().min(1).optional(),
websiteUrl: z.string().url().optional(),
Expand Down

0 comments on commit 10d7a5a

Please sign in to comment.