Skip to content

Commit 1db8592

Browse files
committed
fix(agent): Ensure context meter updates when context is cleared
1 parent b4fbb9b commit 1db8592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/agent/src/context_store.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ impl ContextStore {
6161
pub fn clear(&mut self) {
6262
self.context_set.clear();
6363
self.context_thread_ids.clear();
64+
cx.notify();
6465
}
6566

6667
pub fn new_context_for_thread(

0 commit comments

Comments
 (0)