Skip to content

Commit

Permalink
fixup! fix: add 'Generate summary' button
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Nov 22, 2024
1 parent 4213c2f commit 74543f5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ export default {
},

shouldShowSummaryOption() {
if (!canSummarizeChat || !this.isLastReadMessage
|| this.chatExtrasStore.hasChatSummaryTaskRequested(this.message.token)) {
if (!canSummarizeChat || this.chatExtrasStore.hasChatSummaryTaskRequested(this.message.token)) {
return false
}
return (this.conversation.unreadMessages >= summaryThreshold)
Expand Down

0 comments on commit 74543f5

Please sign in to comment.