fix: clean unnecessary | None type annotations (#35557) (#36824)

Co-authored-by: WH-2099 <wh2099@pm.me>
This commit is contained in:
Evan
2026-06-18 02:08:08 +00:00
committed by GitHub
co-authored by WH-2099
parent 43192036fa
commit 0fa43973b8
7 changed files with 9 additions and 9 deletions
@@ -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),
})
/**