mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix(cli): save /edit prompts to history (#10011)
Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
@@ -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)) => {}
|
||||
|
||||
Reference in New Issue
Block a user