core[patch]: Remove different parent run id warning (#25683)

This commit is contained in:
William FH 2024-08-22 16:10:35 -07:00 committed by GitHub
parent 46d344c33d
commit 294f7fcb38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 15 deletions

View File

@ -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=[],

View File

@ -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=[],