From d3db7db67f0d8228ab69fbbf7493463e2ed70141 Mon Sep 17 00:00:00 2001 From: calm <1191465097@qq.com> Date: Thu, 28 Mar 2024 06:38:00 +0800 Subject: [PATCH] fix(): fix word spelling errors (#2171) --- 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 2b051fc06..20398965c 100644 --- a/autogen/agentchat/conversable_agent.py +++ b/autogen/agentchat/conversable_agent.py @@ -1101,7 +1101,7 @@ class ConversableAgent(LLMAgent): if "cache" not in summary_args: summary_args["cache"] = cache if summary_method == "reflection_with_llm": - summary_method = self._relfection_with_llm_as_summary + summary_method = self._reflection_with_llm_as_summary elif summary_method == "last_msg": summary_method = self._last_msg_as_summary @@ -1124,7 +1124,7 @@ class ConversableAgent(LLMAgent): return summary @staticmethod - def _relfection_with_llm_as_summary(sender, recipient, summary_args): + def _reflection_with_llm_as_summary(sender, recipient, summary_args): prompt = summary_args.get("summary_prompt") prompt = ConversableAgent.DEFAULT_SUMMARY_PROMPT if prompt is None else prompt if not isinstance(prompt, str):