Skip to content

Commit fff4d34

Browse files
committed
update default
1 parent b22eeb2 commit fff4d34

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/agents/handoffs/history.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,12 @@ def _build_summary_message(transcript: list[TResponseInputItem]) -> TResponseInp
124124
summary_lines = ["(no previous turns recorded)"]
125125

126126
start_marker, end_marker = get_conversation_history_wrappers()
127-
content_lines = [start_marker, *summary_lines, end_marker]
127+
content_lines = [
128+
"For context, here is the conversation so far between the user and the previous agent:",
129+
start_marker,
130+
*summary_lines,
131+
end_marker,
132+
]
128133
content = "\n".join(content_lines)
129134
assistant_message: dict[str, Any] = {
130135
"role": "assistant",

0 commit comments

Comments
 (0)