Story
Unite.AIunite.ai

Google lets Gemini API developers change agent instructions and tools mid-conversation

Google has released a preview in the Gemini API that lets developers add system instructions and switch tools on or off during a conversation while earlier turns stay cached. The new instructions carry the same authority as the original system prompt.

Unite.AI: Google Adds Mid-Conversation Instructions to Gemini API, Preserving Cache Read more
, Updated 8 views
take.newsTeam1/2

Key facts

AI
  1. 1The feature is in preview in the Gemini API. The Next Web
  2. 2Earlier turns stay cached, so they are billed at cheaper cached rates. The Next Web
  3. 3The model follows the newest instruction when rules conflict; old instructions are not deleted. The Next Web
  4. 4Only custom function tools are supported; MCP servers, Google Search and code execution are not. Unite.AI
  5. 5It works with Gemini 4 models and costs nothing beyond normal token prices. The Next Web

Background

Agents can run for hundreds of turns, and their rules often change along the way. Previously, changing the main instructions forced the model to reprocess the whole conversation, adding cost and delay. Placing new rules in user messages carried less weight and users could imitate them.

AI summary of 2 sources; each point shows its source.

Comments

Related news

Related news

MarkTechPost ·

Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries

Neowin ·

Google Labs launches Pillowfort, an AI tool for building 2D and 3D games

Bloomberg ·

Parents sue Google to curb distribution of AI tools in schools

Android Authority ·

Some Gemini users say they can’t attach PDFs through the Android app

Digital Trends ·

Gemini 4 Live is learning to describe the world to blind users before they ask

Android Authority ·

I replaced Google Assistant with Gemini across my smart home, and here’s how it went

Times of India ·

Gemini model cheated in 63% of AI tests, OpenAI’s model was under 1%: Study

Android Authority ·

Gemini Tasks is now going global, but Europe has to wait

Android Police ·

Gemini could fix a big reason people never use one of its smartest features

CNA ·

Parents sue Google over Gemini AI chatbot in school products

9to5Google ·

Google rolling out free access to Gemini Tasks around the world

Android Police ·

I gave Gemini and a tiny offline model the same 20 phone commands; the offline one surprised me

XDA ·

4 things Google Assistant did on every drive that Gemini on Android Auto still gets wrong

Android Authority ·

Gemini on Android Auto adds email summaries, starring and calendar rescheduling

Computerworld ·

A fast fix for an annoying new Android AI intrusion

Android Authority ·

Google is working on offline chat access and queued voice prompts for Gemini

About this story

Section Front page › Tech
Topics Google+, Gemini API, Gemini
Source unite.ai, rights with the source
Log in Sign up