From d4b27d0f1abd4188ae2b729832f0af1b96864390 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 600dd82f..4888e615 100644 --- a/src/goose/cli/session.py +++ b/src/goose/cli/session.py @@ -158,7 +158,7 @@ class Session: 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[/]"