The following error message occurs when trying to use ChatAnthropicVertex
ERROR:root:Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc for more information.
It appears that credentials are not passed/working when using
ChatAnthropicVertex
. They appear to work correctly withChatVertexAI
.Working code
Not working code
The following error message occurs when trying to use
ChatAnthropicVertex