diff options
| author | sigoden <sigoden@gmail.com> | 2024-05-06 08:19:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-06 08:19:42 +0800 |
| commit | 9b283024b47f57ad7bbf032fa015eab42f8162a9 (patch) | |
| tree | d6c833e263b9037238ed9c031793aa59852b9016 /Argcfile.sh | |
| parent | a3dd675276d55b0e50817a95933a4b0fe3b79c94 (diff) | |
| download | aichat-9b283024b47f57ad7bbf032fa015eab42f8162a9.tar.gz | |
feat: extract vertexai-claude client (#485)
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 |
