Live feed

AI Source Now

About
MY
  1. ✨ LaunchGoogle

    Gemini API keeps cache when instructions and tools change mid⁠-⁠conversation

    Google has released a preview feature in the Interactions API of the Gemini API that lets developers change system instructions or available tools in the middle of a conversation. Until now, changing them meant reprocessing the earlier conversation from the start, but now the earlier conversation stays in the cacheStoring content that has already been processed so it can be reused. It avoids repeating the same computation, which saves cost and time. and only the new rules are added.
    Gemini API keeps cache when instructions and tools change mid-conversation
    Source photo · blog.google

    Google has released a preview feature in the Interactions API of the Gemini API that lets developers change system instructions or available tools in the middle of a conversation. Until now, changing them meant reprocessing the earlier conversation from the start, but now the earlier conversation stays in the cacheStoring content that has already been processed so it can be reused. It avoids repeating the same computation, which saves cost and time. and only the new rules are added.The feature cuts the cost and delay of AI agents that work for a long time.

    Open originalblog.google
Feedback