let citation show on webapp (#2161)

This commit is contained in:
Chenhe Gu 2024-01-24 13:57:11 +08:00 committed by GitHub
parent 6d94126368
commit d42df4ed04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -898,7 +898,7 @@ const Main: FC<IMainProps> = ({
suggestionList={suggestedQuestions} suggestionList={suggestedQuestions}
isShowSpeechToText={speechToTextConfig?.enabled} isShowSpeechToText={speechToTextConfig?.enabled}
isShowTextToSpeech={textToSpeechConfig?.enabled} isShowTextToSpeech={textToSpeechConfig?.enabled}
isShowCitation={citationConfig?.enabled && isInstalledApp} isShowCitation={citationConfig?.enabled}
visionConfig={{ visionConfig={{
...visionConfig, ...visionConfig,
image_file_size_limit: fileUploadConfigResponse ? fileUploadConfigResponse.image_file_size_limit : visionConfig.image_file_size_limit, image_file_size_limit: fileUploadConfigResponse ? fileUploadConfigResponse.image_file_size_limit : visionConfig.image_file_size_limit,