Skip to content

feat(openai): preserve streaming refusal output#258

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-fix-181-openai-stream-refusal
Apr 13, 2026
Merged

feat(openai): preserve streaming refusal output#258
Abhijeet Prasad (AbhiPrasad) merged 1 commit intomainfrom
abhi-fix-181-openai-stream-refusal

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Accumulate delta.refusal chunks in chat completion streaming traces.

Add a VCR-backed regression test for a real structured-output refusal response and assert that the aggregated span output includes message.refusal.

resolves #181

Accumulate `delta.refusal` chunks in chat completion streaming traces.

Add a VCR-backed regression test for a real structured-output refusal
response and assert that the aggregated span output includes
`message.refusal`.
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit 2aee70f into main Apr 13, 2026
59 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the abhi-fix-181-openai-stream-refusal branch April 13, 2026 13:44
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.

[BOT ISSUE] OpenAI: chat completions streaming drops refusal delta text from span output

2 participants