diff options
| -rw-r--r-- | src/config/mod.rs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 04f08b3..64be3bd 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -24,7 +24,7 @@ const CONFIG_FILE_NAME: &str = "config.yaml"; const ROLES_FILE_NAME: &str = "roles.yaml"; const HISTORY_FILE_NAME: &str = "history.txt"; const MESSAGE_FILE_NAME: &str = "messages.md"; -const TEMP_ROLE_NAME: &str = "%PROMPT%"; +const TEMP_ROLE_NAME: &str = "P"; const SET_COMPLETIONS: [&str; 9] = [ ".set api_key", ".set temperature", @@ -241,16 +241,10 @@ impl Config { .temperature .map(|v| v.to_string()) .unwrap_or("-".into()); - let role_name = self - .role - .as_ref() - .map(|v| v.name.to_string()) - .unwrap_or("-".into()); let items = vec