mirror of https://github.com/hwchase17/langchain
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 RuntimeErrorpull/23013/head^2
parent
d96f67b06f
commit
bd4b68cd54
Loading…
Reference in New Issue