Feat: use file size limit from api (#9739)
This commit is contained in:
@@ -40,6 +40,10 @@ const ChatWrapper = () => {
|
||||
|
||||
return {
|
||||
...config,
|
||||
file_upload: {
|
||||
...(config as any).file_upload,
|
||||
fileUploadConfig: (config as any).system_parameters,
|
||||
},
|
||||
supportFeedback: true,
|
||||
opening_statement: currentConversationId ? currentConversationItem?.introduction : (config as any).opening_statement,
|
||||
} as ChatConfig
|
||||
|
Reference in New Issue
Block a user