Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
feat: add get chat history method
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Jan 23, 2024
1 parent d81a99e commit 5ca5d95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bardapi/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ def display_chat_history(self) -> None:

print(SEPARATOR_LINE)

def get_chat_history(self) -> list:
return self.chat_history

@staticmethod
def _is_valid_input(user_input: str) -> bool:
"""
Expand Down

0 comments on commit 5ca5d95

Please sign in to comment.