diff options
| author | sigoden <sigoden@gmail.com> | 2024-12-01 11:35:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 11:35:12 +0800 |
| commit | 6b6413b02df588faf6557053751b7e9c591539f7 (patch) | |
| tree | 4f76e1a0eae6a4f762b24bae559167f8883bdf77 /scripts/completions/aichat.fish | |
| parent | 7e8e2a6ce6d96ffa31c202ead6f31f18dc73c618 (diff) | |
| download | aichat-6b6413b02df588faf6557053751b7e9c591539f7.tar.gz | |
feat: add cli option `--agent-variable <name> <value>` (#1027)
Diffstat (limited to 'scripts/completions/aichat.fish')
| -rw-r--r-- | scripts/completions/aichat.fish | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index df902b3..19bf96e 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -1,11 +1,12 @@ complete -c aichat -s m -l model -x -a "(aichat --list-models)" -d 'Select a LLM model' -r 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 -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 '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 -s a -l agent -x -a "(aichat --list-agents)" -d 'Start a agent' -r +complete -c aichat -l agent-variable -d 'Set agent variables' +complete -c aichat -l rag -x -a"(aichat --list-rags)" -d 'Start a RAG' -r complete -c aichat -l serve -d 'Serve the LLM API and WebAPP' complete -c aichat -s e -l execute -d 'Execute commands in natural language' complete -c aichat -s c -l code -d 'Output code only' |
