From 36e884c4b58e2d81fc44b9f3201543632cde33fa Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 13 Nov 2024 06:58:13 +0800 Subject: refactor: no side effect `--save-session` (#987) --- scripts/completions/aichat.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/completions/aichat.fish') diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index f5b2576..df902b3 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -3,7 +3,7 @@ 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 empty-session -d 'Ensure the session is empty' -complete -c aichat -l save-session -d 'Force the session to be saved' +complete -c aichat -l save-session -d 'Ensure the new conversation is saved to the session' 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 -l serve -d 'Serve the LLM API and WebAPP' -- cgit v1.2.3