Skip to content

Commit

Permalink
feat: show stop btn
Browse files Browse the repository at this point in the history
  • Loading branch information
dolphin0618 committed Jul 5, 2024
1 parent 419cc31 commit 21f19a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/frontend/src/pages/ChatAppPage/components/ChatPanne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ export default function ChatPanne({ customWsHost = '', appendHistory = false, da
</div>
<ChatComponent
form={flowSate.isForm}
stop={flowSate.isReport || flowSate.isRoom}
stop
// stop={flowSate.isReport || flowSate.isRoom}
useName={sendUserName}
guideWord={flow.guide_word}
wsUrl={wsUrl}
Expand All @@ -207,6 +208,7 @@ export default function ChatPanne({ customWsHost = '', appendHistory = false, da
<span className="text-sm">{assistant.name}</span>
</div>
<ChatComponent
stop
useName={sendUserName}
questions={assistantState.guide_question.filter((item) => item)}
guideWord={assistantState.guide_word}
Expand Down

0 comments on commit 21f19a2

Please sign in to comment.