Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Aug 23, 2024
1 parent a668070 commit 43c873d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastagency/core/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def init_chat(self, message: str, **kwargs: Any) -> str:
chat_history = self.initial_agent.initiate_chat(
self.receiving_agent,
message=message,
summary_method="last_message",
summary_method="last_msg",
**kwargs,
)
return chat_history.summary # type: ignore[no-any-return]
Expand All @@ -74,7 +74,7 @@ def continue_chat(self, message: str, **kwargs: Any) -> str:
self.receiving_agent,
message=message,
clear_history=False,
summary_method="last_message",
summary_method="last_msg",
**kwargs,
)
return chat_history.summary # type: ignore[no-any-return]
Expand Down

0 comments on commit 43c873d

Please sign in to comment.