mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
Co-authored-by: WH-2099 <wh2099@pm.me>
This commit is contained in:
@@ -1238,7 +1238,7 @@ export type CustomModelConfiguration = {
|
||||
current_credential_name?: string | null
|
||||
model: string
|
||||
model_type: ModelType
|
||||
unadded_to_model_list?: boolean | null
|
||||
unadded_to_model_list?: boolean
|
||||
}
|
||||
|
||||
export type CredentialFormSchema = {
|
||||
|
||||
@@ -1531,7 +1531,7 @@ export const zCustomModelConfiguration = z.object({
|
||||
current_credential_name: z.string().nullish(),
|
||||
model: z.string(),
|
||||
model_type: zModelType,
|
||||
unadded_to_model_list: z.boolean().nullish().default(false),
|
||||
unadded_to_model_list: z.boolean().optional().default(false),
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user