Skip to content

Commit

Permalink
chore: don't add related questions on regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
richardshiue committed Jan 7, 2025
1 parent 85bdf1e commit 6a7a99f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ class ChatBloc extends Bloc<ChatEvent, ChatState> {
_regenerateAnswer(id, format);
lastSentMessage = null;

isFetchingRelatedQuestions = false;
shouldFetchRelatedQuestions = false;

emit(
state.copyWith(
promptResponseState: PromptResponseState.sendingQuestion,
Expand Down

0 comments on commit 6a7a99f

Please sign in to comment.