Skip to content

Conversation

@seratch
Copy link
Member

@seratch seratch commented Jan 16, 2026

based on #2254

This pull request fixes #2171 nested handoff history duplication by separating model input from session observability and filtering duplicate tool items while preserving full run history. It updates handoff history handling to keep unfiltered items for session saving and tracing, adds targeted tests around nested handoffs and streaming expectations, and clarifies handoff input filter behavior for input_items vs new_items.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d1b548dc13

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1c4153eca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@seratch seratch merged commit bf2625c into main Jan 16, 2026
9 checks passed
@seratch seratch deleted the pr-2254-fix branch January 16, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Next agent receives duplicate history (summary + raw tool calls) when nest_handoff_history is enabled

3 participants