Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 17, 2024
1 parent 5df61d1 commit 7cbdd10
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 21 deletions.
5 changes: 0 additions & 5 deletions .changeset/dirty-wolves-sin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-masks-leave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-horses-retire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-shirts-cheat.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/main/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @google/generative-ai

## 0.13.0

### Minor Changes

- 83ec4ac: Expand the model's `countTokens` method to alternatively accept a `GenerateContentRequest`.
- 5df61d1: Added `GoogleAICacheManager` utility to allow caching large content to be used in inference. This class is exported from the `@google/generative-ai/server` subpath. Breaking change: The `GoogleAIFileManager` class has been moved to be exported from this subpath as well instead of the `/files` subpath.

### Patch Changes

- 1440a05: Removed the `model` field from the internally formatted payload of `countToken` requests as it was unnecessary.
- 03eb57b: Fix missing usageMetadata in streamed aggregated response (#174)

## 0.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/main/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@google/generative-ai",
"version": "0.12.0",
"version": "0.13.0",
"description": "Google AI JavaScript SDK",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 7cbdd10

Please sign in to comment.