mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-29 17:00:56 +00:00
typing & docstr update (#59)
* typing & docstr update * bump version to 0.1.5
This commit is contained in:
parent
e4eb7aed97
commit
c39bfcaa6e
@ -210,8 +210,8 @@ class ConversableAgent(Agent):
|
||||
return self._max_consecutive_auto_reply if sender is None else self._max_consecutive_auto_reply_dict[sender]
|
||||
|
||||
@property
|
||||
def chat_messages(self) -> Dict[str, List[Dict]]:
|
||||
"""A dictionary of conversations from name to list of ChatCompletion messages."""
|
||||
def chat_messages(self) -> Dict[Agent, List[Dict]]:
|
||||
"""A dictionary of conversations from agent to list of messages."""
|
||||
return self._oai_messages
|
||||
|
||||
def last_message(self, agent: Optional[Agent] = None) -> Dict:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user