Skip to content

Commit 445810f

Browse files
fix(): fix word spelling errors (microsoft#2171)
1 parent bd87163 commit 445810f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autogen/agentchat/conversable_agent.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ def my_summary_method(
11011101
if "cache" not in summary_args:
11021102
summary_args["cache"] = cache
11031103
if summary_method == "reflection_with_llm":
1104-
summary_method = self._relfection_with_llm_as_summary
1104+
summary_method = self._reflection_with_llm_as_summary
11051105
elif summary_method == "last_msg":
11061106
summary_method = self._last_msg_as_summary
11071107

@@ -1124,7 +1124,7 @@ def _last_msg_as_summary(sender, recipient, summary_args) -> str:
11241124
return summary
11251125

11261126
@staticmethod
1127-
def _relfection_with_llm_as_summary(sender, recipient, summary_args):
1127+
def _reflection_with_llm_as_summary(sender, recipient, summary_args):
11281128
prompt = summary_args.get("summary_prompt")
11291129
prompt = ConversableAgent.DEFAULT_SUMMARY_PROMPT if prompt is None else prompt
11301130
if not isinstance(prompt, str):

0 commit comments

Comments
 (0)