diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-22 06:54:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-22 06:54:03 +0800 |
| commit | d645046d2d729a55345e18f97fefcab545086f53 (patch) | |
| tree | ceef0afa1d693a827441bf2157ef7ecc9359d3ff /scripts/completions/aichat.zsh | |
| parent | 52cd3efd6c6588a957fd11d56580cb54ba868724 (diff) | |
| download | aichat-d645046d2d729a55345e18f97fefcab545086f53.tar.gz | |
refactor: rename bot to agent (#628)
Diffstat (limited to 'scripts/completions/aichat.zsh')
| -rw-r--r-- | scripts/completions/aichat.zsh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/completions/aichat.zsh b/scripts/completions/aichat.zsh index b57b575..6d8dbc1 100644 --- a/scripts/completions/aichat.zsh +++ b/scripts/completions/aichat.zsh @@ -23,8 +23,8 @@ _aichat() { '-s+[Start or join a session]:SESSION:->sessions' \ '--session=[Start or join a session]:SESSION:->sessions' \ '--save-session[Forces the session to be saved]' \ -'-b+[Start a bot]:BOT:->bots' \ -'--bot=[Start a bot]:BOT:->bots' \ +'-b+[Start a agent]:BOT:->agents' \ +'--agent=[Start a agent]:BOT:->agents' \ '--rag=[Start a RAG]:RAG:->rags' \ '*-f+[Include files with the message]:FILE:_files' \ '*--file=[Include files with the message]:FILE:_files' \ @@ -45,7 +45,7 @@ _aichat() { '--list-models[List all available chat models]' \ '--list-roles[List all roles]' \ '--list-sessions[List all sessions]' \ -'--list-bots[List all bots]' \ +'--list-agents[List all agents]' \ '--list-rags[List all RAGs]' \ '-h[Print help]' \ '--help[Print help]' \ @@ -58,7 +58,7 @@ _aichat() { _arguments "${_arguments_options[@]}" $common \ && ret=0 case $state in - models|roles|sessions|bots|rags) + models|roles|sessions|agents|rags) local -a values expl values=( ${(f)"$(_call_program values aichat --list-$state)"} ) _wanted values expl $state compadd -a values && ret=0 |
