diff options
Diffstat (limited to 'Argcfile.sh')
| -rwxr-xr-x | Argcfile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index e187489..4a2bb89 100755 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -226,14 +226,14 @@ chat-ollama() { }' } -# @cmd Chat with vertexai-gemini api +# @cmd Chat with vertexai api # @env require-tools gcloud # @env VERTEXAI_PROJECT_ID! # @env VERTEXAI_LOCATION! # @option -m --model=gemini-1.0-pro $VERTEXAI_GEMINI_MODEL # @flag -S --no-stream # @arg text~ -chat-vertexai-gemini() { +chat-vertexai() { api_key="$(gcloud auth print-access-token)" func="streamGenerateContent" if [[ -n "$argc_no_stream" ]]; then |
