mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-08 06:23:20 +00:00
langchain[patch]: Add warning in react agent (#26980)
This commit is contained in:
@@ -2502,7 +2502,8 @@ async def adispatch_custom_event(
|
||||
):
|
||||
print(event)
|
||||
|
||||
.. warning: If using python <= 3.10 and async, you MUST
|
||||
.. warning::
|
||||
If using python <= 3.10 and async, you MUST
|
||||
specify the `config` parameter or the function will raise an error.
|
||||
This is due to a limitation in asyncio for python <= 3.10 that prevents
|
||||
LangChain from automatically propagating the config object on the user's
|
||||
|
Reference in New Issue
Block a user