langchain-ai / langsmith-docs

Documentation for langsmith
https://docs.smith.langchain.com/
MIT License
76 stars 32 forks source link

os.environ["LANGCHAIN_TRACING_V2"] = "true" causes AttributeError: '_UnixSelectorEventLoop' object has no attribute '_closed' #363

Open bhs1 opened 1 month ago

bhs1 commented 1 month ago

Anyone else seen this? When I set os.environ["LANGCHAIN_TRACING_V2"] = "false" it goes away. I'm using asyncio.run().

bhs1 commented 1 month ago

Running this guy's code reproduces the issue https://github.com/Kevin7744/Web-Voyager-Using-Langchain/blob/main/main.py#L42

mlcocdav commented 1 month ago

Same problem here.

hinthornw commented 1 week ago

do you have a stack trace?