You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Friso H. Kingma af11fbfbf6
langchain_openai: Make sure the response from the async client in the astream method of ChatOpenAI is properly awaited in case of "include_response_headers=True" (#26031)
- **Description:** This is a **one line change**. the
`self.async_client.with_raw_response.create(**payload)` call is not
properly awaited within the `_astream` method. In `_agenerate` this is
done already, but likely forgotten in the other method.
  - **Issue:** Not applicable
  - **Dependencies:** No dependencies required.

(If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.)

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
3 weeks ago
..
cli
community Improvement[Community] Improve args description in api doc of `DocArrayInMemorySearch` (#26024) 3 weeks ago
core
experimental Add the option to ignore structured output method to LLM graph transf… (#26013) 3 weeks ago
langchain langchain[patch]: Release 0.2.16 (#25977) 3 weeks ago
partners langchain_openai: Make sure the response from the async client in the astream method of ChatOpenAI is properly awaited in case of "include_response_headers=True" (#26031) 3 weeks ago
standard-tests standard-tests[patch]: test init from env vars (#25983) 3 weeks ago
text-splitters text-splitters[patch]: Release 0.2.4 (#25979) 3 weeks ago