Skip to content

Commit 0dea941

Browse files
authored
test: add requests dependency to the anthropic remote function (#1137)
* test: add `requests` dependecy to the anthropic remote function The latest anthropic release broke the notebook tests. More details in anthropics/anthropic-sdk-python#738. * fix tupo
1 parent a38d4c4 commit 0dea941

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebooks/remote_functions/remote_function_vertex_claude_model.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@
264264
}
265265
],
266266
"source": [
267-
"@bpd.remote_function(packages=[\"anthropic[vertex]\"], max_batching_rows=1, \n",
267+
"@bpd.remote_function(packages=[\"anthropic[vertex]\", \"google-auth[requests]\"],\n",
268+
" max_batching_rows=1, \n",
268269
" bigquery_connection=\"bigframes-dev.us-east5.bigframes-rf-conn\") # replace with your connection\n",
269270
"def anthropic_transformer(message: str) -> str:\n",
270271
" from anthropic import AnthropicVertex\n",

0 commit comments

Comments
 (0)