Use agent name as prompt in --agent --chat mode (e.g., "butler>")

Changed run_interactive() parameter from bool to Option<&str> agent_name.
When agent_name is Some, use it as the prompt instead of "g3>".
This commit is contained in:
Dhanji R. Prasanna
2026-01-16 13:58:45 +05:30
parent 2e6bef4b24
commit 1f6a5671b2
4 changed files with 15 additions and 7 deletions

View File

@@ -300,7 +300,7 @@ async fn handle_command(
chat_combined_content,
workspace_dir,
cli.new_session,
false, // from_agent_mode
None, // agent_name (not in agent mode)
)
.await?;