Philipp Schmid· @_philschmid · X·AI 评分59
Gemini API 推出会话中途修改系统指令功能
AI 导读
Philipp Schmid 宣布 Gemini API 上线会话中途系统指令,新增 system_input 步骤,可在任意轮次修改指令或增删工具,同时此前的轮次保持缓存。
正文 · 原文
We just rolled out mid-conversation system instructions in the Gemini API 🚀 We added a new system_input step that allows you to change instructions or add/remove tools at any turn, while earlier turns stay cached. You can now
- Steer agents mid-session with SI authority (plan → build)
- Add tools on demand, like newly added MCP servers.
- Add and Unlock tools after a user signs in, e.g. write email
- Remove a tool during an outage, then adding it back
- Apply limits found mid-session
Preview on Gemini 4 Carbon, Neon & Hydrogen.
来源:Philipp Schmid · x.com