Fix: crash of workflow file upload (#10831)
Co-authored-by: -LAN- <laipz8200@outlook.com> Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
parent
133de9a087
commit
328965ed7c
9 changed files with 65 additions and 24 deletions
|
|
@ -391,7 +391,7 @@ const TextGeneration: FC<IMainProps> = ({
|
|||
setVisionConfig({
|
||||
// legacy of image upload compatible
|
||||
...file_upload,
|
||||
transfer_methods: file_upload.allowed_upload_methods,
|
||||
transfer_methods: file_upload.allowed_file_upload_methods || file_upload.allowed_upload_methods,
|
||||
// legacy of image upload compatible
|
||||
image_file_size_limit: appParams?.system_parameters?.image_file_size_limit,
|
||||
fileUploadConfig: appParams?.system_parameters,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue