From 9b283024b47f57ad7bbf032fa015eab42f8162a9 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 6 May 2024 08:19:42 +0800 Subject: feat: extract vertexai-claude client (#485) --- Argcfile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Argcfile.sh') 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 -- cgit v1.2.3