From 42291be55de3f87e04c39d489c492921c467d1ca Mon Sep 17 00:00:00 2001 From: Luke Alvoeiro Date: Mon, 9 Sep 2024 15:01:27 -0700 Subject: [PATCH] fix: typo in exchange method `rewind` (#54) --- src/goose/cli/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/goose/cli/session.py b/src/goose/cli/session.py index 600dd82ff..4888e6154 100644 --- a/src/goose/cli/session.py +++ b/src/goose/cli/session.py @@ -158,7 +158,7 @@ def run(self) -> None: self.interrupt_reply() except Exception: # rewind to right before the last user message - self.exchange.rewind_to_last_user_message() + self.exchange.rewind() print(traceback.format_exc()) print( "\n[red]The error above was an exception we were not able to handle.\n\n[/]"