Skip to content

Commit

Permalink
fix: Wait for user input in autogen
Browse files Browse the repository at this point in the history
  • Loading branch information
dolphin0618 committed Jun 28, 2024
1 parent 10a9d8f commit 0284958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function ChatInput({ clear, form, stop, questions, inputForm, wsU
handleWsMessage(data)
// 群聊@自己时,开启input
if (['end', 'end_cover'].includes(data.type) && data.receiver?.is_self) {
setInputLock({ locked: true, reason: '' })
setInputLock({ locked: false, reason: '' })
}
}
ws.onclose = (event) => {
Expand Down

0 comments on commit 0284958

Please sign in to comment.