@google/genai 2.7.0 → 2.9.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,6 +13,13 @@ TypeScript and JavaScript developers to build applications powered by Gemini. Th
13
13
  supports both the [Gemini Developer API](https://ai.google.dev/gemini-api/docs)
14
14
  and [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform).
15
15
 
16
+ > [!WARNING]
17
+ > **Upcoming Breaking Change to Automatic Function Calling (AFC):**
18
+ > We will introduce a breaking change to the Automatic Function Calling (AFC)
19
+ > feature in the next major version. Specifically, users will not be able to
20
+ > invoke AFC from direct calls to `Models.generate_content` or its stream
21
+ > variants. Instead, users should invoke AFC from `chats` modules.
22
+
16
23
  The Google Gen AI SDK is designed to work with Gemini 2.0+ features.
17
24
 
18
25
  > [!CAUTION]