Skip to content

Commit 0791827

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

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. Specifically, users will not be able to invoke AFC from direct calls
22+
> to `Models.generate_content` or its stream and async variants. Instead, users
23+
> 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)