mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Merge branch 'summary_memory' of https://github.com/torantulino/auto-gpt into summary_memory
This commit is contained in:
@@ -9,7 +9,7 @@ def get_newly_trimmed_messages(
|
||||
full_message_history: List[Dict[str, str]], current_context: List[Dict[str, str]], last_memory_index: int) -> Tuple[List[Dict[str, str]], int]:
|
||||
"""
|
||||
This function returns a list of dictionaries contained in full_message_history
|
||||
with an index higher than last_memory_index that are absent from current_context, and the new index.
|
||||
with an index higher than prev_index that are absent from current_context.
|
||||
|
||||
Args:
|
||||
full_message_history (list): A list of dictionaries representing the full message history.
|
||||
|
||||
Reference in New Issue
Block a user