diff options
Diffstat (limited to 'scripts/completions/aichat.bash')
| -rw-r--r-- | scripts/completions/aichat.bash | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/completions/aichat.bash b/scripts/completions/aichat.bash index cb9b708..adfe57d 100644 --- a/scripts/completions/aichat.bash +++ b/scripts/completions/aichat.bash @@ -19,7 +19,7 @@ _aichat() { case "${cmd}" in aichat) - opts="-m -r -s -e -c -f -H -S -w -h -V --model --prompt --role --session --save-session --serve --execute --code --file --no-highlight --no-stream --wrap --light-theme --dry-run --info --list-models --list-roles --list-sessions --help --version" + 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" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 @@ -61,6 +61,14 @@ _aichat() { COMPREPLY=($(compgen -W "$("$1" --list-sessions)" -- "${cur}")) return 0 ;; + -b|--bot) + COMPREPLY=($(compgen -W "$("$1" --list-bots)" -- "${cur}")) + return 0 + ;; + --rag) + COMPREPLY=($(compgen -W "$("$1" --list-rags)" -- "${cur}")) + return 0 + ;; -f|--file) local oldifs if [[ -v IFS ]]; then |
