I am getting the following error when using context caching following vertextai's tutorials:
InternalServerError: 500 Model gemini-1.5-flash-001 does not support cached content.
Please see the code snippets enclosed.
Name: google-cloud-aiplatform
Version: 1.57.0
Appreciate any help.
Yeah same issue here, seems to be a totally random restriction they've placed on the Vertex AI version of gemini-1.5-flash but not the Google AI Studio version. See the difference in listed model support between
Thanks! I noticed as well. What a drag... I though vertax AI is supposed to be for enterprise use, thus had less restrictions. Google PM strikes again...
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |