# Google 的 Gemini API 現在允許開發者在對話中途更改指令和切換工具，無須讓模型重新處理先前的對話輪次。

Canonical: https://ournews.live/u/gemini-api-lets-developers-change-instructions-mid-conversation?lang=zh-Hant
Published: 2026-12-04T10:37:48.036286+00:00
Updated: 2026-12-04T10:37:48.036286+00:00

這項功能現已開放 Gemini 4 模型公開預覽。

Developers can tell an agent to switch from planning to editing as a task progresses. They can also change which functions the model is allowed to call. Keeping earlier turns cached can save time and money in long conversations.

The preview is available through the Gemini Interactions API. It covers function tools. Tools from remote MCP servers are outside this preview.

Source: Google — https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-mid-conversation-updates/
Source date: 2026-12-03
