diff --git a/src/agentscope/message/msg.py b/src/agentscope/message/msg.py index 3f5510256..1d644e23a 100644 --- a/src/agentscope/message/msg.py +++ b/src/agentscope/message/msg.py @@ -104,7 +104,7 @@ def __init__( def __getitem__(self, item: str) -> Any: """The getitem function, which will be deprecated in the new version""" - logger.error( + logger.warning( f"The Msg class doesn't inherit dict any more. Please refer to " f"its attribute by `msg.{item}` directly." f"The support of __getitem__ will also be deprecated in the "