You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Anthropic's models through VertexAI's Model Garden. Is there a way to use the count tokens API through Vertex? Looking at the code, I saw that Anthropic().beta.messages has the count_tokens method, but AnthropicVertex().beta.messages does not have this method.
The text was updated successfully, but these errors were encountered:
I'm using Anthropic's models through VertexAI's Model Garden. Is there a way to use the count tokens API through Vertex? Looking at the code, I saw that
Anthropic().beta.messages
has thecount_tokens
method, butAnthropicVertex().beta.messages
does not have this method.The text was updated successfully, but these errors were encountered: