Skip to content

Commit 2456a85

Browse files
committed
call onMessageSent
1 parent da1e3ae commit 2456a85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/browser/components/ChatInput/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
610610
type: "success",
611611
message: `Context threshold reached - auto-compacting...`,
612612
});
613+
props.onMessageSent?.();
613614
}
614615
} catch (error) {
615616
// Restore on unexpected error

0 commit comments

Comments
 (0)