Describe the bug
OpenAIResponsesChatGenerator drops reasoning encrypted_content in streaming mode.
Error message
N/A
Expected behavior
OpenAIResponsesChatGenerator#_convert_streaming_chunks_to_chat_message preserves encrypted_content in ReasoningContent.extra, so that it is submitted in future chat turns.
Additional context
If the model calls multiple functions consecutively, you should pass back all reasoning items, function call items, and function call output items, since the last user message. This allows the model to continue its reasoning process to produce better results in the most token-efficient manner.
To Reproduce
Run OpenAIResponsesChatGenerator with generation_kwargs of
{
"model": "gpt-5.5",
"store": False,
"include": ["reasoning.encrypted_content"],
}
and streaming_callback
FAQ Check
System:
- OS: Linux
- Haystack version: master
Describe the bug
OpenAIResponsesChatGeneratordrops reasoningencrypted_contentin streaming mode.Error message
N/A
Expected behavior
OpenAIResponsesChatGenerator#_convert_streaming_chunks_to_chat_messagepreservesencrypted_contentinReasoningContent.extra, so that it is submitted in future chat turns.Additional context
To Reproduce
Run
OpenAIResponsesChatGeneratorwithgeneration_kwargsof{ "model": "gpt-5.5", "store": False, "include": ["reasoning.encrypted_content"], }and
streaming_callbackFAQ Check
System: