summaryrefslogtreecommitdiffstats
path: root/src/config/role.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-10-22 07:38:45 +0800
committerGitHub <noreply@github.com>2024-10-22 07:38:45 +0800
commitc7d85c624b1bd4ab8118ff80d692ee2b40669537 (patch)
tree90f1c957645add0f6eb33c9664257407a3d41a57 /src/config/role.rs
parenta165fd19e752e3a998dedfe640e9ec838c2737c6 (diff)
downloadaichat-c7d85c624b1bd4ab8118ff80d692ee2b40669537.tar.gz
refactor: several improvements (#943)
- rename agents_config_dir to agents_data_dir - do not save empty role name while saving the session - rename delete keys (roles/sessions/rags/agents => role/session/rag/agent-data) - improve some printing messages
Diffstat (limited to 'src/config/role.rs')
-rw-r--r--src/config/role.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/role.rs b/src/config/role.rs
index 9b9f46d..8c56f0c 100644
--- a/src/config/role.rs
+++ b/src/config/role.rs
@@ -167,7 +167,7 @@ impl Role {
})?;
if is_repl {
- println!("✨ Saved role to '{}'", role_path.display());
+ println!("✨ Saved role to '{}'.", role_path.display());
}
if role_name != self.name {