Introducing mid-conversation instructions in the Gemini API
Google Gemini API now supports mid-conversation system instruction updates while preserving prompt cache
“Update system instructions and tools mid-conversation while preserving your prompt cache.”— Google AI
Google has launched mid-conversation instruction support in the Gemini API, enabling developers to swap system prompts and tools without invalidating the prompt cache. This reduces latency and cost for agentic and multi-turn workflows that need dynamic behavior. It signals Google's focus on making Gemini more competitive for production agentic use cases.