File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1732,14 +1732,14 @@ def generate_reply(
1732
1732
if messages is None :
1733
1733
messages = self ._oai_messages [sender ]
1734
1734
1735
- # Call the hookable method that gives registered hooks a chance to process all messages.
1736
- # Message modifications do not affect the incoming messages or self._oai_messages.
1737
- messages = self .process_all_messages_before_reply (messages )
1738
-
1739
1735
# Call the hookable method that gives registered hooks a chance to process the last message.
1740
1736
# Message modifications do not affect the incoming messages or self._oai_messages.
1741
1737
messages = self .process_last_received_message (messages )
1742
1738
1739
+ # Call the hookable method that gives registered hooks a chance to process all messages.
1740
+ # Message modifications do not affect the incoming messages or self._oai_messages.
1741
+ messages = self .process_all_messages_before_reply (messages )
1742
+
1743
1743
for reply_func_tuple in self ._reply_func_list :
1744
1744
reply_func = reply_func_tuple ["reply_func" ]
1745
1745
if "exclude" in kwargs and reply_func in kwargs ["exclude" ]:
Original file line number Diff line number Diff line change 1
- __version__ = "0.2.16 "
1
+ __version__ = "0.2.17 "
You can’t perform that action at this time.
0 commit comments