diff options
| author | sigoden <sigoden@gmail.com> | 2023-03-02 22:25:55 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-03-02 22:26:32 +0800 |
| commit | 97af9322e76ff5ec9ca89fc938835ec622731528 (patch) | |
| tree | dc758d957cd84b86f82424f649cca0643ab617df /src/config.rs | |
| parent | f66d33e324e5b5894771f7005411e261bb85f0f1 (diff) | |
| download | aichat-97af9322e76ff5ec9ca89fc938835ec622731528.tar.gz | |
feat: support list roles with --list-roles
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 5f76315..0feed64 100644 --- a/src/config.rs +++ b/src/config.rs @@ -12,7 +12,7 @@ pub struct Config { /// Used only for debugging #[serde(default)] pub dry_run: bool, - /// Predefined rules + /// Predefined roles #[serde(default)] pub roles: Vec<Role>, } @@ -31,7 +31,7 @@ impl Config { pub struct Role { /// Role name pub name: String, - /// Prompt text send to ai for setting up a rule + /// Prompt text send to ai for setting up a role pub prompt: String, /// First sentense will append to prompt pub first_sentense: String, |
