mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
refactor: get_class_name
This commit is contained in:
parent
710bc40b0a
commit
60bad18304
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class Memory:
|
|||
news.append(i)
|
||||
return news
|
||||
|
||||
def get_by_action(self, action) -> list[Message]:
|
||||
def get_by_action(self, action: str) -> list[Message]:
|
||||
"""Return all messages triggered by a specified Action"""
|
||||
return self.index[action]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue