Skip to content

Merge duplicate streaming tool call indexes - #3241

Closed
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/openai-python-merge-duplicate-tool-indexes
Closed

MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/openai-python-merge-duplicate-tool-indexes

Conversation

@MukundaKatta

Copy link
Copy Markdown

Summary

Merge streaming deltas for tool calls that reuse the same tool index instead of treating duplicate indexes as independent entries.

This keeps streamed tool-call state coherent when chunks arrive for an existing index and adds regression coverage for duplicate-index merging.

Validation

  • uv run --with pytest --with pytest-asyncio --with pytest-xdist python -m pytest tests/lib/test_streaming_deltas.py -q

@MukundaKatta
MukundaKatta marked this pull request as ready for review May 15, 2026 02:28
@MukundaKatta
MukundaKatta requested a review from a team as a code owner May 15, 2026 02:28
@marcuswood-oai

Copy link
Copy Markdown
Contributor

Thanks for taking the time to work on this! We’ve merged the fix for duplicate-index tool-call deltas in #3425, so I’m closing this as a duplicate. We appreciate the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants