fix: webapp stop chat & citation (#2376)

This commit is contained in:
zxhlyh
2024-02-04 18:08:53 +08:00
committed by GitHub
parent 51d359268e
commit 1ebf740908
7 changed files with 21 additions and 23 deletions

View File

@@ -97,7 +97,7 @@ const Answer: FC<AnswerProps> = ({
<SuggestedQuestions item={item} />
{
!!citation?.length && config?.retriever_resource?.enabled && !responsing && (
<Citation data={citation} showHitInfo />
<Citation data={citation} showHitInfo={config.supportCitationHitInfo} />
)
}
</div>