Gemini API adds mid-conversation system instructions in preview, keeping earlier turns cached
patloeber · x · 2026-12-04
Google introduced mid-conversation system instructions and tool changes in preview for the Gemini API via the Interactions API, letting agents adapt to new rules and tools mid-session without restarting.
Developer patloeber highlighted the practical usage: sending a systeminput step appends new rules or tool updates while keeping earlier turns cached, preserving both flexibility and prompt-caching savings.
More from coding & agent
- Temporal Engineer Used a Crew of Agents to Spec, Test and Fix Agent SDK Plugins — francesc · 2026-12-04
- Engineer realizes he was doing full-stack work, not AI engineering — goes back to ML fundamentals — Perfect-Document5922 · 2026-12-04
- Software engineering is now just picking the best services and libraries for agents to use — martyamark · 2026-12-04
- Coding agents haven't solved software engineering — they made software more complex — Saul_Loveman · 2026-12-04
- Mercury lets AI agents into business bank accounts—with human-approved payments only — LexSokolin · 2026-12-04
- Agent-Era Etiquette: Write the Prompt For the Person You're Asking — nickbaumann_ · 2026-12-04