summaryrefslogtreecommitdiffstats
path: root/scripts/completions/aichat.bash
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-22 06:54:03 +0800
committerGitHub <noreply@github.com>2024-06-22 06:54:03 +0800
commitd645046d2d729a55345e18f97fefcab545086f53 (patch)
treeceef0afa1d693a827441bf2157ef7ecc9359d3ff /scripts/completions/aichat.bash
parent52cd3efd6c6588a957fd11d56580cb54ba868724 (diff)
downloadaichat-d645046d2d729a55345e18f97fefcab545086f53.tar.gz
refactor: rename bot to agent (#628)
Diffstat (limited to 'scripts/completions/aichat.bash')
-rw-r--r--scripts/completions/aichat.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/completions/aichat.bash b/scripts/completions/aichat.bash
index adfe57d..856c6ba 100644
--- a/scripts/completions/aichat.bash
+++ b/scripts/completions/aichat.bash
@@ -19,7 +19,7 @@ _aichat() {
case "${cmd}" in
aichat)
- opts="-m -r -s -b -e -c -f -H -S -w -h -V --model --prompt --role --session --save-session --bot --rag --serve --execute --code --file --no-highlight --no-stream --wrap --light-theme --dry-run --info --list-models --list-roles --list-sessions --list-bots --list-rags --help --version"
+ opts="-m -r -s -b -e -c -f -H -S -w -h -V --model --prompt --role --session --save-session --agent --rag --serve --execute --code --file --no-highlight --no-stream --wrap --light-theme --dry-run --info --list-models --list-roles --list-sessions --list-agents --list-rags --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -61,8 +61,8 @@ _aichat() {
COMPREPLY=($(compgen -W "$("$1" --list-sessions)" -- "${cur}"))
return 0
;;
- -b|--bot)
- COMPREPLY=($(compgen -W "$("$1" --list-bots)" -- "${cur}"))
+ -b|--agent)
+ COMPREPLY=($(compgen -W "$("$1" --list-agents)" -- "${cur}"))
return 0
;;
--rag)