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 594305b commit e9f30d9Copy full SHA for e9f30d9
crates/chat-cli/src/cli/chat/conversation.rs
@@ -276,7 +276,7 @@ impl ConversationState {
276
/// Exit tangent mode and preserve the last conversation entry (user + assistant)
277
pub fn exit_tangent_mode_with_tail(&mut self) {
278
if let Some(checkpoint) = self.tangent_state.take() {
279
- // Checkpoint the last history entry from tangent conversation if it exists
+ // Capture the last history entry from tangent conversation if it exists
280
// and if it's different from what was in the main conversation
281
let last_entry = if self.history.len() > checkpoint.main_history.len() {
282
self.history.back().cloned()
0 commit comments