MCPcopy Create free account
hub / github.com/GCWing/BitFun / clear_messages

Method clear_messages

src/apps/cli/src/chat_state.rs:879–881  ·  view source on GitHub ↗

Clear all messages (for /clear command)

(&mut self)

Source from the content-addressed store, hash-verified

877
878 /// Clear all messages (for /clear command)
879 pub fn clear_messages(&mut self) {
880 self.messages.clear();
881 }
882
883 /// Get the current turn ID (if processing)
884 pub fn current_turn_id(&self) -> Option<&str> {

Callers 1

handle_commandMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected