diff --git a/.changeset/dirty-wolves-sin.md b/.changeset/dirty-wolves-sin.md deleted file mode 100644 index 170f56df..00000000 --- a/.changeset/dirty-wolves-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@google/generative-ai": minor ---- - -Expand the model's `countTokens` method to alternatively accept a `GenerateContentRequest`. diff --git a/.changeset/fifty-masks-leave.md b/.changeset/fifty-masks-leave.md deleted file mode 100644 index d191c52f..00000000 --- a/.changeset/fifty-masks-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@google/generative-ai": patch ---- - -Removed the `model` field from the internally formatted payload of `countToken` requests as it was unnecessary. diff --git a/.changeset/quick-horses-retire.md b/.changeset/quick-horses-retire.md deleted file mode 100644 index efd40731..00000000 --- a/.changeset/quick-horses-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@google/generative-ai": patch ---- - -Fix missing usageMetadata in streamed aggregated response (#174) diff --git a/.changeset/tough-shirts-cheat.md b/.changeset/tough-shirts-cheat.md deleted file mode 100644 index c3011cde..00000000 --- a/.changeset/tough-shirts-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@google/generative-ai": minor ---- - -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. diff --git a/packages/main/CHANGELOG.md b/packages/main/CHANGELOG.md index 5097b4e2..0d3bdea7 100644 --- a/packages/main/CHANGELOG.md +++ b/packages/main/CHANGELOG.md @@ -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 diff --git a/packages/main/package.json b/packages/main/package.json index 325e01eb..3d016591 100644 --- a/packages/main/package.json +++ b/packages/main/package.json @@ -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",