Skip to main content

follow_up

Method
This is a method of the DeepResearchAgent class in the deep_research_agent module.
Ask a follow-up question based on a previous research interaction. Only supported for Gemini provider.

Signature

def follow_up(query: str, previous_interaction_id: str, model: Optional[str]) -> DeepResearchResponse

Parameters

query
str
required
The follow-up question
previous_interaction_id
str
required
ID from a previous research response
model
Optional
Model to use (defaults to gemini-3-pro for follow-ups)

Returns

Returns
DeepResearchResponse
DeepResearchResponse with the follow-up answer