Skip to content

Commit

Permalink
typing & docstr update (microsoft#59)
Browse files Browse the repository at this point in the history
* typing & docstr update

* bump version to 0.1.5
  • Loading branch information
sonichi authored Oct 1, 2023
1 parent 7eeedc2 commit 3746542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogen/agentchat/conversable_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ def max_consecutive_auto_reply(self, sender: Optional[Agent] = None) -> int:
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:
Expand Down

0 comments on commit 3746542

Please sign in to comment.