Skip to content

fix(openai): preserve reasoning summary spacing#112

Merged
flore2003 merged 1 commit into
mainfrom
fix/openai-reasoning-summary-spacing
Apr 30, 2026
Merged

fix(openai): preserve reasoning summary spacing#112
flore2003 merged 1 commit into
mainfrom
fix/openai-reasoning-summary-spacing

Conversation

@flore2003
Copy link
Copy Markdown
Member

Summary

  • Preserve OpenAI reasoning summary boundaries by joining summary parts with blank lines.
  • Add streaming separators when OpenAI moves between reasoning summary_index values.
  • Cover multi-part and multi-item reasoning summaries with adapter tests.

Test plan

  • npm test -w @core-ai/openai -- src/chat-adapter.test.ts
  • npm run lint -w @core-ai/openai
  • npm run check-types -w @core-ai/openai

@flore2003 flore2003 merged commit 261305a into main Apr 30, 2026
3 checks passed
@flore2003 flore2003 deleted the fix/openai-reasoning-summary-spacing branch April 30, 2026 22:24
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