diff options
| author | Tatsuya Kyushima <49891479+kyu08@users.noreply.github.com> | 2024-05-02 18:17:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-02 17:17:50 +0800 |
| commit | ebad4bb88842812c9a2633cb9e06071114519314 (patch) | |
| tree | 7c747ee9356a22f9168370ddb76d7764320f3763 /Argcfile.sh | |
| parent | b6957ae3af07608d92b7dda1709997a8da77c62b (diff) | |
| download | aichat-ebad4bb88842812c9a2633cb9e06071114519314.tar.gz | |
chore: fix typos (#476)
Diffstat (limited to 'Argcfile.sh')
| -rwxr-xr-x | Argcfile.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index 68f222c..e187489 100755 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -92,7 +92,7 @@ chat() { model_env="${env_prefix}_MODEL" model="${!model_env}" fi - argc chat-openai-comptabile \ + argc chat-openai-compatible \ --api-base "$api_base" \ --api-key "$api_key" \ --model "$model" \ @@ -102,7 +102,7 @@ chat() { fi } -# @cmd List models by openai-comptabile api +# @cmd List models by openai-compatible api # @arg platform![`_choice_platform`] models() { for platform_config in "${OPENAI_COMPATIBLE_PLATFORMS[@]}"; do @@ -121,20 +121,20 @@ models() { fi } -# @cmd Chat with openai-comptabile api +# @cmd Chat with openai-compatible api # @option --api-base! $$ # @option --api-key! $$ # @option -m --model! $$ # @flag -S --no-stream # @arg text~ -chat-openai-comptabile() { +chat-openai-compatible() { _openai_chat "$@" } -# @cmd List models by openai-comptabile api +# @cmd List models by openai-compatible api # @option --api-base! $$ # @option --api-key! $$ -models-openai-comptabile() { +models-openai-compatible() { _openai_models } |
