소스 검색

fix: chat app added new var old conversation not work (#511)

tags/0.3.7
Joel 2 년 전
부모
커밋
5e2c3eeac3
No account linked to committer's email address
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3
    0
      web/app/components/share/chat/index.tsx

+ 3
- 0
web/app/components/share/chat/index.tsx 파일 보기

@@ -369,6 +369,9 @@ const Main: FC<IMainProps> = ({
}

const checkCanSend = () => {
if (currConversationId !== '-1')
return true

const prompt_variables = promptConfig?.prompt_variables
const inputs = currInputs
if (!inputs || !prompt_variables || prompt_variables?.length === 0)

Loading…
취소
저장