support custom api url per model
This commit is contained in:
parent
5bdf1c4b96
commit
ad2087094d
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ export namespace ModelsDev {
|
|||
status: z.enum(["alpha", "beta", "deprecated"]).optional(),
|
||||
options: z.record(z.string(), z.any()),
|
||||
headers: z.record(z.string(), z.string()).optional(),
|
||||
provider: z.object({ npm: z.string() }).optional(),
|
||||
provider: z.object({ npm: z.string(), api: z.string() }).optional(),
|
||||
variants: z.record(z.string(), z.record(z.string(), z.any())).optional(),
|
||||
})
|
||||
export type Model = z.infer<typeof Model>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue