Skip to content

Commit

Permalink
test: add requests dependecy to the anthropic remote function
Browse files Browse the repository at this point in the history
The latest anthropic release broke the notebook tests. More details in
anthropics/anthropic-sdk-python#738.
  • Loading branch information
shobsi committed Nov 7, 2024
1 parent a38d4c4 commit 280087f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
}
],
"source": [
"@bpd.remote_function(packages=[\"anthropic[vertex]\"], max_batching_rows=1, \n",
"@bpd.remote_function(packages=[\"anthropic[vertex], google-auth[requests]\"], max_batching_rows=1, \n",
" bigquery_connection=\"bigframes-dev.us-east5.bigframes-rf-conn\") # replace with your connection\n",
"def anthropic_transformer(message: str) -> str:\n",
" from anthropic import AnthropicVertex\n",
Expand Down

0 comments on commit 280087f

Please sign in to comment.