summaryrefslogtreecommitdiffstats
path: root/src/config/session.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/session.rs')
-rw-r--r--src/config/session.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/session.rs b/src/config/session.rs
index 2ad517c..717188b 100644
--- a/src/config/session.rs
+++ b/src/config/session.rs
@@ -240,7 +240,7 @@ impl Session {
self.top_p = role.top_p();
self.use_tools = role.use_tools();
self.model = role.model().clone();
- self.role_name = Some(role.name().to_string());
+ self.role_name = convert_option_string(role.name());
self.role_prompt = role.prompt().to_string();
self.dirty = true;
}
@@ -349,7 +349,7 @@ impl Session {
})?;
if is_repl {
- println!("✨ Saved session to '{}'", session_path.display());
+ println!("✨ Saved session to '{}'.", session_path.display());
}
if self.name() != session_name {