diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish index 9ff6538..9da7391 100644 --- a/scripts/completions/aichat.fish +++ b/scripts/completions/aichat.fish @@ -5,7 +5,7 @@ complete -c aichat -s s -l session -x -a"(aichat --list-sessions)" -d 'Start or 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, )' complete -c aichat -l save-session -d 'Forces the session to be saved' -complete -c aichat -l serve -d 'Serve all LLMs via an OpenAI-compatible API' +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' complete -c aichat -s H -l no-highlight -d 'Turn off syntax highlighting' diff --git a/scripts/completions/aichat.nu b/scripts/completions/aichat.nu index 3b6ed9a..89ebb35 100644 --- a/scripts/completions/aichat.nu +++ b/scripts/completions/aichat.nu @@ -29,7 +29,7 @@ module completions { --role(-r): string@"nu-complete aichat role" # Select a role --session(-s): string@"nu-complete aichat role" # Start or join a session --save-session # Forces the session to be saved - --serve # Serve all LLMs via an OpenAI-compatible API + --serve # Serve the LLM API and WebAPP --execute(-e) # Execute commands in natural language --code(-c) # Output code only --file(-f): string # Include files with the message diff --git a/scripts/completions/aichat.ps1 b/scripts/completions/aichat.ps1 index 10b986d..78f2f02 100644 --- a/scripts/completions/aichat.ps1 +++ b/scripts/completions/aichat.ps1 @@ -32,7 +32,7 @@ Register-ArgumentCompleter -Native -CommandName 'aichat' -ScriptBlock { [CompletionResult]::new('-w', '-w', [CompletionResultType]::ParameterName, 'Control text wrapping (no, auto, )') [CompletionResult]::new('--wrap', '--wrap', [CompletionResultType]::ParameterName, 'Control text wrapping (no, auto, )') [CompletionResult]::new('--save-session', '--save-session', [CompletionResultType]::ParameterName, 'Forces the session to be saved') - [CompletionResult]::new('--serve', '--serve', [CompletionResultType]::ParameterName, 'Serve all LLMs via an OpenAI-compatible API') + [CompletionResult]::new('--serve', '--serve', [CompletionResultType]::ParameterName, 'Serve the LLM API and WebAPP') [CompletionResult]::new('-e', '-e', [CompletionResultType]::ParameterName, 'Execute commands in natural language') [CompletionResult]::new('--execute', '--execute', [CompletionResultType]::ParameterName, 'Execute commands in natural language') [CompletionResult]::new('-c', '-c', [CompletionResultType]::ParameterName, 'Output code only') diff --git a/scripts/completions/aichat.zsh b/scripts/completions/aichat.zsh index bbcc02b..043d1db 100644 --- a/scripts/completions/aichat.zsh +++ b/scripts/completions/aichat.zsh @@ -27,7 +27,7 @@ _aichat() { '-w+[Control text wrapping (no, auto, )]:WRAP: ' \ '--wrap=[Control text wrapping (no, auto, )]:WRAP: ' \ '--save-session[Forces the session to be saved]' \ -'--serve[Serve all LLMs via an OpenAI-compatible API]' \ +'--serve[Serve the LLM API and WebAPP]' \ '-e[Execute commands in natural language]' \ '--execute[Execute commands in natural language]' \ '-c[Output code only]' \ diff --git a/src/cli.rs b/src/cli.rs index 8225b7f..c84db2a 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -18,7 +18,7 @@ pub struct Cli { /// Forces the session to be saved #[clap(long)] pub save_session: bool, - /// Serve all LLMs via an OpenAI-compatible API + /// Serve the LLM API and WebAPP #[clap(long, value_name = "ADDRESS")] pub serve: Option>, /// Execute commands in natural language