We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8868701 commit 8a0782cCopy full SHA for 8a0782c
libs/partners/openai/langchain_openai/chat_models/base.py
@@ -793,7 +793,8 @@ def _convert_chunk_to_generation_chunk(
793
if len(choices) == 0:
794
# logprobs is implicitly None
795
generation_chunk = ChatGenerationChunk(
796
- message=default_chunk_class(content="", usage_metadata=usage_metadata)
+ message=default_chunk_class(content="", usage_metadata=usage_metadata),
797
+ generation_info=base_generation_info,
798
)
799
return generation_chunk
800
0 commit comments