googleapis / googleapis/nodejs-agentplatform
Missing Caching Support
Open
api: aiplatform
priority: p3
type: feature request
- Dominant language
- TypeScript
- Stars
- 182
- Forks
- 69
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Description
**Describe the solution you'd like**
Missing caching support equivalent to the [Python SDK](https://cloud.google.com/vertex-ai/generative-ai/docs/context-cache/context-cache-use#use-context-cache-sample-python) or [Gemini TS SDK](https://github.com/google-gemini/generative-ai-js/blob/main/samples/cache.js)
**Describe alternatives you've considered**
I can create & manage caches with raw requests to the API endpoint, but I cannot use them as the `cached_content` cannot be passed through the library to the request
Contributor guide
Assessment
This issue has not been assessed yet.