diff options
| author | sigoden <sigoden@gmail.com> | 2024-02-25 20:09:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 20:09:40 +0800 |
| commit | c773e8d2e1e737fdda2f7bfe8e97c0411a1ba172 (patch) | |
| tree | 2ca04eae4752e368814d9f5d7c38c3617ba7fbb5 /src/config/role.rs | |
| parent | a3fbf71c1c1a1bba27d8a546e63ae54605e1fadc (diff) | |
| download | aichat-c773e8d2e1e737fdda2f7bfe8e97c0411a1ba172.tar.gz | |
refactor: improve saving messages (#322)
Diffstat (limited to 'src/config/role.rs')
| -rw-r--r-- | src/config/role.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/role.rs b/src/config/role.rs index ff60b55..f963874 100644 --- a/src/config/role.rs +++ b/src/config/role.rs @@ -29,7 +29,7 @@ impl Role { None => &shell, }; Self { - name: "__builtin__".into(), + name: "__for_execute__".into(), prompt: format!( r#"Provide only {shell} commands for {os} without any description. If there is a lack of details, provide most logical solution. @@ -44,7 +44,7 @@ Do not provide markdown formatting such as ```"# pub fn for_describe() -> Self { Self { - name: "__builtin__".into(), + name: "__for_describe__".into(), prompt: r#"Provide a terse, single sentence description of the given shell command. Describe each argument and option of the command. Provide short responses in about 80 words. |
