summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config.rs b/src/config.rs
index 729320e..c42b11b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -35,12 +35,10 @@ pub struct Role {
pub name: String,
/// Prompt text send to ai for setting up a role
pub prompt: String,
- /// First sentense will append to prompt
- pub first_sentense: String,
}
impl Role {
pub fn generate(&self, text: &str) -> String {
- format!("{} {} {}", self.prompt, self.first_sentense, text)
+ format!("{} {}", self.prompt, text)
}
}