Skip to content

Commit

Permalink
To warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DavdGao committed Aug 12, 2024
1 parent f9ceaac commit 18c597f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agentscope/message/msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 18c597f

Please sign in to comment.