From 8e152be31f34bfe1a7d0b43354e1f2eb9db38900 Mon Sep 17 00:00:00 2001 From: Carson Date: Fri, 18 Jul 2025 17:15:32 -0500 Subject: [PATCH] Update chat_enable_bookmarking() to work with latest ellmer --- pkg-r/R/client_state.R | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg-r/R/client_state.R b/pkg-r/R/client_state.R index 249812da..a146e0bd 100644 --- a/pkg-r/R/client_state.R +++ b/pkg-r/R/client_state.R @@ -23,8 +23,7 @@ method(client_get_state, S7::new_S3_class(c("Chat", "R6"))) <- # Instead, save only the `turns` information recorded_turns <- lapply( client$get_turns(), - ellmer::contents_record, - chat = client + ellmer::contents_record ) if (is_url_bookmarkstore()) { @@ -74,8 +73,7 @@ method(client_set_state, S7::new_S3_class(c("Chat", "R6"))) <- replayed_turns <- lapply( recorded_turns, - ellmer::contents_replay, - chat = client + ellmer::contents_replay ) client$set_turns(replayed_turns)