This commit is contained in:
Nuno Campos 2023-08-25 17:15:08 +02:00
parent af2e4ce2cd
commit 0eba80912f

View File

@ -8,8 +8,8 @@ from langchain.schema.runnable.config import RunnableConfig, patch_config
if TYPE_CHECKING:
from langchain.callbacks.manager import (
AsyncCallbackManager as AsyncCallbackManagerT,
CallbackManager as CallbackManagerT,
)
from langchain.callbacks.manager import CallbackManager as CallbackManagerT
T = TypeVar("T", CallbackManagerT, AsyncCallbackManagerT)
else: