langchain/libs
Kim Minjong d0ff0db698
Update ChatOpenAI._stream to respect finish_reason (#9672)
Currently, ChatOpenAI._stream does not reflect finish_reason to
generation_info. Change it to reflect that.

Same patch as https://github.com/langchain-ai/langchain/pull/9431 , but
also applies to _stream.
2023-08-23 22:58:14 -07:00
..
experimental poetry lock the experimental package. (#9478) 2023-08-22 14:09:35 -04:00
langchain Update ChatOpenAI._stream to respect finish_reason (#9672) 2023-08-23 22:58:14 -07:00