guangzhengli/ChatFiles

TypeError: Cannot read properties of undefined (reading 'indexName')

brinrbc opened this issue · 1 comments

Hey, guys! Thank you for your work. I can't run locally, I get this error:
(Mac, 16 GB, Intel)

Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'indexName')

Source
components/Chat/Chat.tsx (213:53) @ indexName

  211 | <>
  212 |   <div className="flex justify-center border border-b-neutral-300 bg-neutral-100 py-2 text-sm text-neutral-500 dark:border-none dark:bg-[#444654] dark:text-neutral-200">
> 213 |     {t('File')}: {conversation.index.indexName}
      |                                     ^
  214 |     <IconClearAll
  215 |       className="ml-2 cursor-pointer hover:opacity-50"
  216 |       onClick={onClearAll}

Currently, the entire project has been refactored using Langchain and this issue has been resolved. #81