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

Method with_initial_prompt

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

Set an initial prompt to send automatically when the session starts

(mut self, prompt: String)

Source from the content-addressed store, hash-verified

177
178 /// Set an initial prompt to send automatically when the session starts
179 pub fn with_initial_prompt(mut self, prompt: String) -> Self {
180 self.initial_prompt = Some(prompt);
181 self
182 }
183
184 /// Check if any popup is currently visible
185 fn any_popup_visible(&self, chat_view: &ChatView) -> bool {

Callers 1

run_interactiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected