Feat: use file size limit from api (#9739)
This commit is contained in:
parent
2346b0ab99
commit
5d1424f67c
19 changed files with 205 additions and 28 deletions
|
|
@ -390,6 +390,7 @@ const TextGeneration: FC<IMainProps> = ({
|
|||
setVisionConfig({
|
||||
...file_upload.image,
|
||||
image_file_size_limit: appParams?.system_parameters?.image_file_size_limit,
|
||||
fileUploadConfig: appParams?.system_parameters,
|
||||
})
|
||||
const prompt_variables = userInputsFormToPromptVariables(user_input_form)
|
||||
setPromptConfig({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue