feat: show citation info in run history (#3399)

This commit is contained in:
Nite Knite
2024-04-12 12:19:27 +08:00
committed by GitHub
parent b00466f025
commit c9abb75fce
6 changed files with 14 additions and 11 deletions

View File

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