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
This method fails when giving this prompt to ChatAnthropicVertex with the error:
File ".../python3.11/site-packages/langchain_google_vertexai/_anthropic_utils.py", line 143, in _format_messages_anthropic raise ValueError( ValueError: System message must be a string, instead was: <class 'list'>
So simply modifying it to support a list rather than a string would be enough to allow caching. Could be a quick fix
Hello,
As of recently, prompt caching is supposedly in preview in Vertex AI. Can you add support for it to ChatAnthropicVertex?
Thanks!
The text was updated successfully, but these errors were encountered: