Commit fc90f09
fix(openai): use ReasoningContent for reasoning stream Start events
convert_openai_to_agentex_events opened reasoning summary/content messages with
a TextContent Start. On the migrated auto_send/Temporal path this regressed the
prior behavior (which started reasoning with ReasoningContent), so consumers
branching on the start event's content type render reasoning as plain text. The
final persisted content is rebuilt from the reasoning deltas regardless, so this
only affects the live stream envelope. Aligns with the codex/claude_code taps
and the langgraph-sync converter, and matches what the openai conformance suite
already treats as canonical.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 7bcca10 commit fc90f09
1 file changed
Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
560 | 561 | | |
561 | 562 | | |
562 | 563 | | |
563 | | - | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
564 | 569 | | |
565 | 570 | | |
566 | 571 | | |
567 | | - | |
568 | | - | |
| 572 | + | |
| 573 | + | |
569 | 574 | | |
570 | | - | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
571 | 578 | | |
572 | 579 | | |
573 | 580 | | |
| |||
604 | 611 | | |
605 | 612 | | |
606 | 613 | | |
607 | | - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
608 | 619 | | |
609 | 620 | | |
610 | 621 | | |
611 | | - | |
612 | | - | |
| 622 | + | |
| 623 | + | |
613 | 624 | | |
614 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
615 | 628 | | |
616 | 629 | | |
617 | 630 | | |
| |||
0 commit comments