Skip to content

Commit 4697258

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

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
@@ -15,6 +15,13 @@ Google's generative models into their Python applications. It supports the
1515
[Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform)
1616
APIs.
1717

18+
> [!WARNING]
19+
> **Upcoming Breaking Change to Automatic Function Calling (AFC):**
20+
> We will introduce a breaking change to the Automatic Function Calling (AFC)
21+
> feature in the next major version. Specifically, users will not be able to
22+
> invoke AFC from direct calls to `Models.generate_content` or its stream and
23+
> async variants. Instead, users should invoke AFC from `chats` modules.
24+
1825
## Agent Skills
1926

2027
Large Language Models (LLMs) and generative AI coding assistants are often trained on static datasets. As a result, they may be unaware of recent updates and suggest outdated or legacy libraries.

0 commit comments

Comments
 (0)