Gemini API now lets you change system instructions mid-conversation, cache intact
OnlineInference · x · 2026-12-04
Google announced a new Gemini API capability: developers can update system instructions and tools mid-conversation while preserving the prompt cache. Previously, changing the system prompt would invalidate the cache and increase costs — this enables dynamically adjusting instructions and tools during long conversations without sacrificing cache savings.
More from coding & agent
- A dozen funded startups automate scientific research, yet no good MCP/CLI for autoresearch loops exists — minhnguyen · 2026-12-04
- Grok Bot launches AI teammates that work in Slack and Teams, learning workflows and collaborating autonomously — thisiskp_ · 2026-12-04
- Agent-to-Agent Terminal Messaging Wiped My Half-Typed Prompt—Fixed by Reading Placeholder Styling — ChemicalExcellent463 · 2026-12-04
- Solo operator runs a $100K/mo business on ~$1,100/mo of AI, replacing $50K/mo of payroll and SaaS — aryanXmahajan · 2026-12-04
- User deletes 1TB of Claude and Codex generated files, blames soaring memory costs — scaling01 · 2026-12-04
- Developer formalizes nine sciences in Lean: 1,306 definitions and 3,334 proven statements for AI agents — RichardsonDx · 2026-12-04