summaryrefslogtreecommitdiffstats
path: root/scripts/completions/aichat.fish
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-23 23:09:47 +0800
committerGitHub <noreply@github.com>2024-06-23 23:09:47 +0800
commitb3bec3cfb0ab75a5dc30dbd55b91e687a3588410 (patch)
treeb9f551fed02d4696a469af499b5755174041000e /scripts/completions/aichat.fish
parentf9e7efd41c475519d8f7a01c539d9ee4a3d56208 (diff)
downloadaichat-b3bec3cfb0ab75a5dc30dbd55b91e687a3588410.tar.gz
refactor: cli options and shell completions (#640)
Diffstat (limited to 'scripts/completions/aichat.fish')
-rw-r--r--scripts/completions/aichat.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish
index d57f29d..4a926c9 100644
--- a/scripts/completions/aichat.fish
+++ b/scripts/completions/aichat.fish
@@ -3,8 +3,8 @@ complete -c aichat -l prompt -d 'Use the system prompt'
complete -c aichat -s r -l role -x -a "(aichat --list-roles)" -d 'Select a role' -r
complete -c aichat -s s -l session -x -a"(aichat --list-sessions)" -d 'Start or join a session' -r
complete -c aichat -l save-session -d 'Forces the session to be saved'
-complete -c aichat -s b -l agent -x -a"(aichat --list-agents)" -d 'Start a agent' -r
-complete -c aichat -l rag -x -a"(aichat --list-rags)" -d 'Start a RAG' -r
+complete -c aichat -s a -l agent -x -a"(aichat --list-agents)" -d 'Start a agent' -r
+complete -c aichat -s R -l rag -x -a"(aichat --list-rags)" -d 'Start a RAG' -r
complete -c aichat -s f -l file -d 'Include files with the message' -r -F
complete -c aichat -s w -l wrap -d 'Control text wrapping (no, auto, <max-width>)'
complete -c aichat -l serve -d 'Serve the LLM API and WebAPP'