Skip to content

fix: #3268 fix OpenAI Conversations reasoning persistence#3352

Merged
seratch merged 1 commit into
mainfrom
fix/openai-conversation-reasoning-persistence
May 11, 2026
Merged

fix: #3268 fix OpenAI Conversations reasoning persistence#3352
seratch merged 1 commit into
mainfrom
fix/openai-conversation-reasoning-persistence

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented May 11, 2026

This pull request fixes #3268 OpenAI Conversations session persistence for Responses reasoning items. The SDK now preserves reasoning item server identity when saving to OpenAIConversationsSession, while continuing to strip stale optional IDs from replayed messages and tool items. It also drops reasoning items that the Conversations API rejects because they have neither id nor encrypted_content, after advancing the persisted counter so retry and streaming dedupe bookkeeping remains stable.

@seratch seratch added this to the 0.17.x milestone May 11, 2026
@github-actions github-actions Bot added bug Something isn't working feature:sessions labels May 11, 2026
@seratch seratch merged commit 5635fab into main May 11, 2026
10 checks passed
@seratch seratch deleted the fix/openai-conversation-reasoning-persistence branch May 11, 2026 22:20
@github-actions github-actions Bot mentioned this pull request May 11, 2026
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:sessions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAIConversationsSession persists empty reasoning item {"type":"reasoning","summary":[]} and Conversations API rejects it as invalid

1 participant