Handoff filters
default_handoff_history_mapper
default_handoff_history_mapper(transcript:list[TResponseInputItem],)->list[TResponseInputItem]Return a single assistant message summarizing the transcript.
nest_handoff_history
nest_handoff_history(handoff_input_data:HandoffInputData,*,history_mapper:HandoffHistoryMapper|None=None,)->HandoffInputDataSummarize the previous transcript for the next agent.
Source code insrc/agents/handoffs/history.py
remove_all_tools
remove_all_tools(handoff_input_data:HandoffInputData,)->HandoffInputDataFilters out all tool items: file search, web search and function calls+output.