Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Content caching feature (#167)
## APIs added - GoogleAICacheManager class (exported from new /server path) with create, update, get, list, delete methods. - GoogleGenerativeAI.getGenerativeModelFromContextCache() added ## Infrastructure changed - `/files` subpath changed to `/server`. GoogleAIFileManager and GoogleAICacheManager will be exported from here as they are only meant to be used in a server environment. - All types moved to a single folder. - Generate common/api-review md files for easier review of API mistakes/gaps - Refactor `makeRequest`-related functions to reduce code duplication
- Loading branch information