Skip to content

Commit d67bea9

Browse files
committed
fix: rename summary_message back to assistant_message
1 parent b55ef90 commit d67bea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agents/handoffs/history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ def _build_summary_message(transcript: list[TResponseInputItem]) -> TResponseInp
126126
end_marker,
127127
]
128128
content = "\n".join(content_lines)
129-
summary_message: dict[str, Any] = {
129+
assistant_message: dict[str, Any] = {
130130
"role": "assistant",
131131
"content": content,
132132
}
133-
return cast(TResponseInputItem, summary_message)
133+
return cast(TResponseInputItem, assistant_message)
134134

135135

136136
def _format_transcript_item(item: TResponseInputItem) -> str:

0 commit comments

Comments
 (0)