Commit 0013256
Support chat history persistence in AutoGPT (#5716)
**Short Description**
Added a new argument to AutoGPT class which allows to persist the chat
history to a file.
**Changes**
1. Removed the `self.full_message_history: List[BaseMessage] = []`
2. Replaced it with `chat_history_memory` which can take any subclasses
of `BaseChatMessageHistory`
---------
Co-authored-by: Harrison Chase <[email protected]>1 parent 1913320 commit 0013256
File tree
2 files changed
+57
-300
lines changed- docs/use_cases/autonomous_agents
- langchain/experimental/autonomous_agents/autogpt
2 files changed
+57
-300
lines changed
0 commit comments