Can't cache just the system prompt CachedContent must have at least one content
#471
Labels
api: aiplatform
Issues related to the googleapis/nodejs-vertexai API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When you try to create cache with just system prompt:
You will get:
The text was updated successfully, but these errors were encountered: