MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / prompt

Method prompt

src/task_builder.rs:129–132  ·  view source on GitHub ↗

Sets the task prompt text that replaces the `{{PROMPT}}` placeholder in templates

(mut self, prompt: Option<String>)

Source from the content-addressed store, hash-verified

127
128 /// Sets the task prompt text that replaces the `{{PROMPT}}` placeholder in templates
129 pub fn prompt(mut self, prompt: Option<String>) -> Self {
130 self.prompt = prompt;
131 self
132 }
133
134 /// Sets the path to a file containing the task prompt (contents injected into template)
135 pub fn prompt_file(mut self, path: Option<PathBuf>) -> Self {

Calls

no outgoing calls