فهرست منبع

fix: reference issue in external knowledge api (#9240)

Yi Xiao 6 ماه پیش
والد
کامیت
44f6a536d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      web/app/components/base/chat/chat/citation/popup.tsx

+ 1 - 1
web/app/components/base/chat/chat/citation/popup.tsx

@@ -100,7 +100,7 @@ const Popup: FC<PopupProps> = ({
                             />
                             <Tooltip
                               text={t('common.chat.citation.vectorHash')}
-                              data={source.index_node_hash.substring(0, 7)}
+                              data={source.index_node_hash?.substring(0, 7)}
                               icon={<BezierCurve03 className='mr-1 w-3 h-3' />}
                             />
                             {