Skip to content

Commit

Permalink
fix(): fix word spelling errors (microsoft#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
shouldnotappearcalm authored Mar 27, 2024
1 parent 95c0118 commit d3db7db
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 @@ -1101,7 +1101,7 @@ def my_summary_method(
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

Expand All @@ -1124,7 +1124,7 @@ def _last_msg_as_summary(sender, recipient, summary_args) -> str:
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):
Expand Down

0 comments on commit d3db7db

Please sign in to comment.