MCPcopy Create free account
hub / github.com/evilsocket/cake / set_prompt

Method set_prompt

cake-core/src/lib.rs:433–435  ·  view source on GitHub ↗

Override the image prompt (used to pass the positional CLI prompt).

(&mut self, prompt: &str)

Source from the content-addressed store, hash-verified

431
432 /// Override the image prompt (used to pass the positional CLI prompt).
433 pub fn set_prompt(&mut self, prompt: &str) {
434 self.image_prompt = prompt.to_string();
435 }
436}
437
438#[derive(Debug, Clone, Copy, clap::ValueEnum, PartialEq, Eq, Default)]

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected