Update chatblade completion to version 0.7.0

This commit is contained in:
Shohei YOSHIDA 2025-09-05 12:42:18 +09:00
parent 35228e5ac0
commit cd3cd0ab3b
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for chatblade (https://github.com/npiv/chatblade) # Completion script for chatblade 0.7.0 (https://github.com/npiv/chatblade)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -20,9 +20,11 @@ _chatblade() {
args+=( args+=(
'(- *)'{-h,--help}'[show this help message and exit]' '(- *)'{-h,--help}'[show this help message and exit]'
'(- *)--version[display the chatblade version]'
'--openai-api-key[the OpenAI API key can also be set as env variable OPENAI_API_KEY]:key' '--openai-api-key[the OpenAI API key can also be set as env variable OPENAI_API_KEY]:key'
'--openai-base-url[a custom URL to use the openAI against a local or custom model]:key'
'--temperature[temperature (openai setting)]:temperature' '--temperature[temperature (openai setting)]:temperature'
'(-c --chat-gpt)'{-c,--chat-gpt}'[chat GPT model 3.5/4 shorthand or full qualified model name, can also be set via env variable OPENAI_API_MODEL]:chat GPT model:(3.5 4)' '(-c --chat-gpt)'{-c,--chat-gpt}'[chat GPT model 3.5/4 shorthand or full qualified model name, can also be set via env variable OPENAI_API_MODEL]:chat GPT model:(3.5 4 4o mini o1 o1mini)'
'(-i --interactive)'{-i,--interactive}'[start an interactive chat session. This will implicitly continue the conversation]' '(-i --interactive)'{-i,--interactive}'[start an interactive chat session. This will implicitly continue the conversation]'
'(-s --stream)'{-s,--stream}'[Stream the incoming text to the terminal]' '(-s --stream)'{-s,--stream}'[Stream the incoming text to the terminal]'
'(-t --tokens)'{-t,--tokens}'[display what *would* be sent, how many tokens, and estimated costs]' '(-t --tokens)'{-t,--tokens}'[display what *would* be sent, how many tokens, and estimated costs]'