Add interactive mode support for agents with --chat flag
- Remove chat from conflicts_with_all for --agent flag - Add chat parameter to run_agent_mode() - Run interactive loop instead of single task when --chat is passed Usage: g3 --agent <name> --chat
This commit is contained in:
@@ -96,7 +96,7 @@ pub struct Cli {
|
||||
pub codebase_fast_start: Option<PathBuf>,
|
||||
|
||||
/// Run as a specialized agent (loads prompt from agents/<name>.md)
|
||||
#[arg(long, value_name = "NAME", conflicts_with_all = ["autonomous", "auto", "chat", "planning"])]
|
||||
#[arg(long, value_name = "NAME", conflicts_with_all = ["autonomous", "auto", "planning"])]
|
||||
pub agent: Option<String>,
|
||||
|
||||
/// List all available agents (embedded and workspace)
|
||||
|
||||
Reference in New Issue
Block a user