diff --git a/bardapi/chat.py b/bardapi/chat.py index fb561a15e..e3d78055c 100644 --- a/bardapi/chat.py +++ b/bardapi/chat.py @@ -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: """