From 366c5f223292bb529f9cc130d208e7fd4b079aa1 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sun, 1 Oct 2023 11:09:18 +0000 Subject: [PATCH 1/2] typing & docstr update --- autogen/agentchat/conversable_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen/agentchat/conversable_agent.py b/autogen/agentchat/conversable_agent.py index fdf42f67b6a..84e7dea8dec 100644 --- a/autogen/agentchat/conversable_agent.py +++ b/autogen/agentchat/conversable_agent.py @@ -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: From b2ef538924e02465567e7af439ed18e40e96550b Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sun, 1 Oct 2023 11:10:59 +0000 Subject: [PATCH 2/2] bump version to 0.1.5 --- autogen/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/version.py b/autogen/version.py index bbab0242f6a..1276d0254ff 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.1.4" +__version__ = "0.1.5"