previous_interaction_id so the API only receives the new user message. The server keeps the sandbox state (files written, packages installed, browser history) attached to the interaction chain - subsequent turns build on what the agent already did.
antigravity_multi_turn.py
Run the Example
Full source: cookbook/90_models/google/gemini_interactions/antigravity_multi_turn.py