feat: Created the --no-memory CLI flag to disable memory for this invocation

This commit is contained in:
2026-06-10 17:53:40 -06:00
parent 7e097e0465
commit 6d5cbfa56d
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -75,6 +75,9 @@ pub struct Cli {
/// Turn off stream mode
#[arg(short = 'S', long)]
pub no_stream: bool,
/// Disable memory for this invocation
#[arg(long)]
pub no_memory: bool,
/// Display the message without sending it
#[arg(long)]
pub dry_run: bool,
+3
View File
@@ -292,6 +292,9 @@ async fn run(
if cli.no_stream {
update_app_config(&mut ctx, |app| app.stream = false);
}
if cli.no_memory {
update_app_config(&mut ctx, |app| app.memory = Some(false));
}
if cli.empty_session {
ctx.empty_session()?;
}