fix: #2171 dedupe nested handoff inputs - #2323
Conversation
Co-authored-by: Ankan Misra <misra13arko@gmail.com>
There was a problem hiding this comment.
💡 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".
There was a problem hiding this comment.
💡 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".
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.