Skip to content

Conversation

@lifeiscontent
Copy link

Summary

  • Prevent resume failures on GPT-5.2 by dropping assistant messages that contain only reasoning/step-start parts when rebuilding the prompt.
  • Add unit coverage for the filtering behavior.

Context

Force-quitting mid-stream can persist an assistant message with only reasoning parts; on GPT-5.2 this can violate OpenAI Responses item sequencing and error on restore.

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.

1 participant