[Bugfix] fix chat history management when app.reset (#1161)

Co-authored-by: Deven Patel <deven298@yahoo.com>
This commit is contained in:
Deven Patel
2024-01-12 11:10:25 +05:30
committed by GitHub
parent 785929c502
commit f582c1fe25
5 changed files with 44 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
title: 🗑 delete
---
`delete_chat_history()` method allows you to delete all previous messages in a chat history.
`delete_session_chat_history()` method allows you to delete all previous messages in a chat history.
## Usage
@@ -15,5 +15,5 @@ app.add("https://www.forbes.com/profile/elon-musk")
app.chat("What is the net worth of Elon Musk?")
app.delete_chat_history()
app.delete_session_chat_history()
```