Fix region for sdk streaming (#2878)

* add Claude 3 Opus model

* fix lint

* fix vertexai bug

* update region for streaming sdk call

---------

Co-authored-by: Huy Ngo <huyngo@google.com>
This commit is contained in:
Huy Ngo
2024-04-11 20:28:18 +00:00
committed by GitHub
co-authored by Huy Ngo
parent 92804a7fac
commit e4abe986b1
@@ -671,7 +671,7 @@
"source": [
"from anthropic import AnthropicVertex\n",
"\n",
"client = AnthropicVertex(region=\"us-central1\", project_id=PROJECT_ID)\n",
"client = AnthropicVertex(region=REGION, project_id=PROJECT_ID)\n",
"\n",
"with client.messages.stream(\n",
" max_tokens=1024,\n",