langchain
bd4b68cd - core: run_in_executor: Wrap StopIteration in RuntimeError (#22997)

Commit
1 year ago
core: run_in_executor: Wrap StopIteration in RuntimeError (#22997) - StopIteration can't be set on an asyncio.Future it raises a TypeError and leaves the Future pending forever so we need to convert it to a RuntimeError
Author
Parents
Loading