previous_interaction_id. This enables implicit caching and reduces token costs.
multi_turn.py
Run the Example
Full source: cookbook/90_models/google/gemini_interactions/multi_turn.py
Demonstrates server-side conversation history with the Interactions API.
previous_interaction_id. This enables implicit caching and reduces token costs.