Commit e6ac9ab
committed
fix(reasoning): request OpenAI reasoning summaries on the managed path
Managed gpt-5.x runs carry providerID "openai" (post-rebrand), but the
options() gate enabling reasoningSummary:"auto" + reasoning encrypted
content only fired for providerID "synsci". So the managed path never
asked OpenAI for a summary: the Responses API still emitted reasoning
*items* (reasoning-start/end fired, empty reasoning parts got created)
but zero reasoning_summary_text.delta events — every reasoning part
persisted with empty text and the UI showed a blank "thinking" block.
Detect the managed path by the Atlas proxy baseURL (.../api/llm/proxy/…)
in the provider options and request summaries there too. Genuine BYOK
(no proxy baseURL) is untouched, so an unverified org never gets an
unexpected summary request. Verified against the live proxy: a managed
Responses stream returns ~83-99 summary deltas with real reasoning text;
the transform now sets reasoningSummary/include for managed + legacy
synsci and nothing for BYOK.1 parent 1e77b9f commit e6ac9ab
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
782 | 791 | | |
783 | 792 | | |
784 | 793 | | |
| |||
0 commit comments