Skip to content

Commit fb2a9b4

Browse files
yyyu-googlecopybara-github
authored andcommitted
docs: announce Automatic Function Calling (AFC) upcoming breaking change warning
PiperOrigin-RevId: 930817001
1 parent b2e8024 commit fb2a9b4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Java idiomatic SDK for the
66
[![Maven][maven-version-image]][maven-version-link]
77
[![Javadoc][javadoc-image]][javadoc-link]
88

9+
> [!WARNING]
10+
> **Upcoming Breaking Change to Automatic Function Calling (AFC):**
11+
> We will introduce a breaking change to the Automatic Function Calling (AFC)
12+
> feature in the next major version. Specifically, users will not be able to
13+
> invoke AFC from direct calls to `Models.generate_content` or its stream and
14+
> async variants. Instead, users should invoke AFC from `Chats` modules.
15+
916
## Add dependency
1017

1118
If you're using Maven, add the following to your dependencies:

0 commit comments

Comments
 (0)