@google/genai 2.8.0 → 2.9.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]
@@ -369,10 +376,7 @@ async function main() {
369
376
  main();
370
377
  ```
371
378
 
372
- ## Interactions (Experimental)
373
-
374
- > **Warning:** The Interactions API is in **Beta**. This is a preview of an
375
- experimental feature. Features and schemas are subject to **breaking changes**.
379
+ ## Interactions
376
380
 
377
381
  The Interactions API is a unified interface for interacting with Gemini models
378
382
  and agents. It simplifies state management, tool orchestration, and long-running