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

Method with_restore_session

src/apps/cli/src/modes/chat.rs:173–176  ·  view source on GitHub ↗

Set a session ID to restore (for "Continue Last Session")

(mut self, session_id: String)

Source from the content-addressed store, hash-verified

171
172 /// Set a session ID to restore (for "Continue Last Session")
173 pub fn with_restore_session(mut self, session_id: String) -> Self {
174 self.restore_session_id = Some(session_id);
175 self
176 }
177
178 /// Set an initial prompt to send automatically when the session starts
179 pub fn with_initial_prompt(mut self, prompt: String) -> Self {

Callers 2

run_interactiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected