summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-28 06:15:10 +0000
committersigoden <sigoden@gmail.com>2024-04-28 06:43:17 +0000
commit212ff1674eba9125fbffe914a63a4f364f550a80 (patch)
tree0f9c807850bb8fa44903e2461d1a8ab0c06f0c7b /scripts
parent7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f (diff)
downloadaichat-212ff1674eba9125fbffe914a63a4f364f550a80.tar.gz
refactor: minor improvements
- config.example.yaml comments - `--serve` description - No model error
Diffstat (limited to 'scripts')
-rw-r--r--scripts/completions/aichat.fish2
-rw-r--r--scripts/completions/aichat.nu2
-rw-r--r--scripts/completions/aichat.ps12
-rw-r--r--scripts/completions/aichat.zsh2
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/completions/aichat.fish b/scripts/completions/aichat.fish
index 586b745..47f3c6b 100644
--- a/scripts/completions/aichat.fish
+++ b/scripts/completions/aichat.fish
@@ -4,7 +4,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, <max-width>)'
complete -c aichat -l save-session -d 'Forces the session to be saved'
-complete -c aichat -l serve -d 'Serve all LLMs as OpenAI-compatible API'
+complete -c aichat -l serve -d 'Serve all LLMs via an OpenAI-compatible API'
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 95cda81..a8ac4bf 100644
--- a/scripts/completions/aichat.nu
+++ b/scripts/completions/aichat.nu
@@ -28,7 +28,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 as OpenAI-compatible API
+ --serve # Serve all LLMs via an OpenAI-compatible API
--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 7be4bcf..c3e8e96 100644
--- a/scripts/completions/aichat.ps1
+++ b/scripts/completions/aichat.ps1
@@ -31,7 +31,7 @@ Register-ArgumentCompleter -Native -CommandName 'aichat' -ScriptBlock {
[CompletionResult]::new('-w', '-w', [CompletionResultType]::ParameterName, 'Control text wrapping (no, auto, <max-width>)')
[CompletionResult]::new('--wrap', '--wrap', [CompletionResultType]::ParameterName, 'Control text wrapping (no, auto, <max-width>)')
[CompletionResult]::new('--save-session', '--save-session', [CompletionResultType]::ParameterName, 'Forces the session to be saved')
- [CompletionResult]::new('--serve', '--serve', [CompletionResultType]::ParameterName, 'Serve all LLMs as OpenAI-compatible API')
+ [CompletionResult]::new('--serve', '--serve', [CompletionResultType]::ParameterName, 'Serve all LLMs via an OpenAI-compatible API')
[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 5f7a74b..378caf6 100644
--- a/scripts/completions/aichat.zsh
+++ b/scripts/completions/aichat.zsh
@@ -26,7 +26,7 @@ _aichat() {
'-w+[Control text wrapping (no, auto, <max-width>)]:WRAP: ' \
'--wrap=[Control text wrapping (no, auto, <max-width>)]:WRAP: ' \
'--save-session[Forces the session to be saved]' \
-'--serve[Serve all LLMs as OpenAI-compatible API]' \
+'--serve[Serve all LLMs via an OpenAI-compatible API]' \
'-e[Execute commands in natural language]' \
'--execute[Execute commands in natural language]' \
'-c[Output code only]' \