Skip to content

Commit eabf3ca

Browse files
committed
zen: sync
1 parent c9326fc commit eabf3ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/console/core/src/model.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export namespace ZenData {
5454

5555
const ModelsSchema = z.object({
5656
models: z.record(z.string(), z.union([ModelSchema, z.array(ModelSchema.extend({ formatFilter: FormatSchema }))])),
57-
liteModels: z.record(z.string(), ModelSchema),
57+
liteModels: z.record(
58+
z.string(),
59+
z.union([ModelSchema, z.array(ModelSchema.extend({ formatFilter: FormatSchema }))]),
60+
),
5861
providers: z.record(z.string(), ProviderSchema),
5962
})
6063

0 commit comments

Comments
 (0)