We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfbfaf3 commit 873719eCopy full SHA for 873719e
crates/chat-cli/src/cli/chat/cli/persist.rs
@@ -95,6 +95,7 @@ impl PersistSubcommand {
95
96
let mut new_state: ConversationState = tri!(serde_json::from_str(&contents), "import from", &path);
97
new_state.reload_serialized_state(os).await;
98
+ std::mem::swap(&mut new_state.tool_manager, &mut session.conversation.tool_manager);
99
session.conversation = new_state;
100
101
execute!(
0 commit comments