Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support chat history persistence in AutoGPT #5716

Merged

Conversation

alonroth
Copy link
Contributor

@alonroth alonroth commented Jun 5, 2023

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

@alonroth alonroth requested a review from hwchase17 June 6, 2023 07:01
@alonroth
Copy link
Contributor Author

alonroth commented Jun 12, 2023

@hwchase17
When should this PR be merged?
Thanks!

Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants