Follow Up • AI Agent SDK
follow_up: Ask a follow-up question based on a previous research interaction.
follow_up
Method
</div>
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]) -> DeepResearchResponseParameters
ParamField
strThe follow-up question
ParamField
strID from a previous research response
ParamField
Optional[str]Model to use (defaults to gemini-3-pro for follow-ups)
Returns
ResponseField
DeepResearchResponseDeepResearchResponse with the follow-up answer
Uses
NotImplementedErrorcreate
Source
View on GitHubpraisonaiagents/agent/deep_research_agent.py at line 1324