fix: add hf task field (#976)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
takatost
2023-08-23 19:48:31 +08:00
committed by GitHub
parent a76fde3d23
commit 071e7800a0
4 changed files with 58 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ const Form: FC<FormProps> = ({
return true
},
run: () => {
return validateModelProviderFn(modelModal!.key, v)
return validateModelProviderFn(modelModal!.key, modelModal?.filterValue ? modelModal?.filterValue(v) : v)
},
})
}