feat: update goose selection (#1638)

This commit is contained in:
Yingjie He
2025-03-12 14:32:52 -07:00
committed by GitHub
parent ce23212974
commit 99f8126c2c
9 changed files with 401 additions and 185 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ impl Session {
let mode = mode.to_lowercase();
// Check if mode is valid
if !["auto", "approve", "chat", "write_approve"].contains(&mode.as_str()) {
if !["auto", "approve", "chat", "smart_approve"].contains(&mode.as_str()) {
output::render_error(&format!(
"Invalid mode '{}'. Mode must be one of: auto, approve, chat",
mode