mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-01 10:19:46 +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]
|
return self._max_consecutive_auto_reply if sender is None else self._max_consecutive_auto_reply_dict[sender]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def chat_messages(self) -> Dict[str, List[Dict]]:
|
def chat_messages(self) -> Dict[Agent, List[Dict]]:
|
||||||
"""A dictionary of conversations from name to list of ChatCompletion messages."""
|
"""A dictionary of conversations from agent to list of messages."""
|
||||||
return self._oai_messages
|
return self._oai_messages
|
||||||
|
|
||||||
def last_message(self, agent: Optional[Agent] = None) -> Dict:
|
def last_message(self, agent: Optional[Agent] = None) -> Dict:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user