Skip to content

Commit

Permalink
fix: correctly populate chat input text when editing the first message (
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ghorbani authored Jan 12, 2025
1 parent 10d006b commit c08ccc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/ChatSessionStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ class ChatSessionStore {
get shouldShowHeaderDivider(): boolean {
return (
!this.activeSessionId ||
(this.currentSessionMessages.length === 0 && !this.isGenerating)
(this.currentSessionMessages.length === 0 &&
!this.isGenerating &&
!this.isEditMode)
);
}

Expand Down

0 comments on commit c08ccc8

Please sign in to comment.