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:
Dhanji R. Prasanna
2026-01-16 12:01:56 +05:30
parent 6bd9c51e8e
commit 94544c8f6a
3 changed files with 20 additions and 2 deletions

View File

@@ -88,6 +88,7 @@ pub async fn run() -> Result<()> {
cli.task.clone(),
cli.chrome_headless,
cli.safari,
cli.chat,
)
.await;
}