mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
core[patch]: Remove different parent run id warning (#25683)
This commit is contained in:
parent
46d344c33d
commit
294f7fcb38
@ -953,11 +953,6 @@ class BaseCallbackManager(CallbackManagerMixin):
|
||||
# ['tag2', 'tag1']
|
||||
|
||||
""" # noqa: E501
|
||||
if self.parent_run_id != other.parent_run_id:
|
||||
_LOGGER.warning(
|
||||
f"{self.__class__.__name__}.merge(): Parent run IDs do not match."
|
||||
" Using the parent run ID of the first callback manager."
|
||||
)
|
||||
manager = self.__class__(
|
||||
parent_run_id=self.parent_run_id or other.parent_run_id,
|
||||
handlers=[],
|
||||
|
@ -1658,11 +1658,6 @@ class CallbackManagerForChainGroup(CallbackManager):
|
||||
# ['tag2', 'tag1']
|
||||
|
||||
""" # noqa: E501
|
||||
if self.parent_run_id != other.parent_run_id:
|
||||
logger.warning(
|
||||
f"{self.__class__.__name__}.merge(): Parent run IDs do not match."
|
||||
" Using the parent run ID of the first callback manager."
|
||||
)
|
||||
manager = self.__class__(
|
||||
parent_run_id=self.parent_run_id or other.parent_run_id,
|
||||
handlers=[],
|
||||
@ -2150,11 +2145,6 @@ class AsyncCallbackManagerForChainGroup(AsyncCallbackManager):
|
||||
# ['tag2', 'tag1']
|
||||
|
||||
""" # noqa: E501
|
||||
if self.parent_run_id != other.parent_run_id:
|
||||
logger.warning(
|
||||
f"{self.__class__.__name__}.merge(): Parent run IDs do not match."
|
||||
" Using the parent run ID of the first callback manager."
|
||||
)
|
||||
manager = self.__class__(
|
||||
parent_run_id=self.parent_run_id or other.parent_run_id,
|
||||
handlers=[],
|
||||
|
Loading…
Reference in New Issue
Block a user