INFO:lightrag:Creating a new event loop in a sub-thread.
INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK"
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-19' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose
await self._transport.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose
await self._pool.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose
await connection.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose
await self._connection.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose
await self._network_stream.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose
await self._stream.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose
self._transport.close()
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close
self._loop.call_soon(self._call_connection_lost, None)
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon
self._check_closed()
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-253' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose
await self._transport.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose
await self._pool.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose
await connection.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose
await self._connection.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose
await self._network_stream.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose
await self._stream.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/streams/tls.py", line 202, in aclose
await self.transport_stream.aclose()
File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose
self._transport.close()
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close
self._loop.call_soon(self._call_connection_lost, None)
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon
self._check_closed()
File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
INFO:lightrag:Local query uses 60 entites, 58 relations, 3 text units
INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK"
INFO:lightrag:Global query uses 61 entites, 58 relations, 3 text units
INFO:httpx:HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"
INFO:lightrag:Creating a new event loop in a sub-thread. INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK" ERROR:asyncio:Task exception was never retrieved future: <Task finished name='Task-19' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose await self._transport.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose await self._pool.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose await connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose await self._connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose await self._network_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose await self._stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose self._transport.close() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close self._loop.call_soon(self._call_connection_lost, None) File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon self._check_closed() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed ERROR:asyncio:Task exception was never retrieved future: <Task finished name='Task-253' coro=<AsyncClient.aclose() done, defined at /home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py:2024> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_client.py", line 2031, in aclose await self._transport.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpx/_transports/default.py", line 389, in aclose await self._pool.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 324, in aclose await connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/connection.py", line 173, in aclose await self._connection.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_async/http11.py", line 253, in aclose await self._network_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/httpcore/_backends/anyio.py", line 54, in aclose await self._stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/streams/tls.py", line 202, in aclose await self.transport_stream.aclose() File "/home/z/anaconda3/envs/yi/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1181, in aclose self._transport.close() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/selector_events.py", line 706, in close self._loop.call_soon(self._call_connection_lost, None) File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 753, in call_soon self._check_closed() File "/home/z/anaconda3/envs/yi/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed INFO:lightrag:Local query uses 60 entites, 58 relations, 3 text units INFO:httpx:HTTP Request: POST http://127.0.0.1:8999/v1/embeddings "HTTP/1.1 200 OK" INFO:lightrag:Global query uses 61 entites, 58 relations, 3 text units INFO:httpx:HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 200 OK"