langchain/libs
Baptiste Pasquier 440c162b8b
community: Fix closed session in Infinity (#26933)
**Description:** 

The `aiohttp.ClientSession` is closed at the end of the with statement,
which causes an error during a second call.

The implemented fix is to define the session directly within the with
block, exactly like in the textembed code:


c6350d636e/libs/community/langchain_community/embeddings/textembed.py (L335-L346)
 
**Issue:** Fix #26932

Co-authored-by: ccurme <chester.curme@gmail.com>
2024-10-27 11:37:21 -04:00
..
cli multiple: update docs urls to latest 2 (#26837) 2024-09-30 17:37:07 -07:00
community community: Fix closed session in Infinity (#26933) 2024-10-27 11:37:21 -04:00
core core: test runner improvements (#27654) 2024-10-25 15:06:59 -07:00
experimental experimental: migrate to external repo (#26879) 2024-09-25 19:02:19 -07:00
langchain all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
partners groq: fix unit test (#27660) 2024-10-26 14:57:23 -04:00
standard-tests standard-tests: test that only one chunk sets input_tokens (#27177) 2024-10-08 11:35:32 -07:00
text-splitters all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00