fix(cli): save /edit prompts to history (#10011)

Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
Adam Miller
2026-06-28 11:44:01 -05:00
committed by GitHub
parent 9ff7376338
commit 71280996d4
+2
View File
@@ -655,6 +655,8 @@ impl CliSession {
prefill.as_deref(),
) {
Ok((message, true)) => {
editor.add_history_entry(message.as_str())?;
history.save(editor);
self.handle_message_input(&message, history, editor).await?;
}
Ok((_, false)) => {}