diff options
| author | sigoden <sigoden@gmail.com> | 2024-10-22 07:38:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 07:38:45 +0800 |
| commit | c7d85c624b1bd4ab8118ff80d692ee2b40669537 (patch) | |
| tree | 90f1c957645add0f6eb33c9664257407a3d41a57 /src/config/role.rs | |
| parent | a165fd19e752e3a998dedfe640e9ec838c2737c6 (diff) | |
| download | aichat-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.rs | 2 |
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 { |
