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:
@@ -268,7 +268,7 @@ pub async fn run_agent_mode(
|
||||
combined_content,
|
||||
&workspace_dir,
|
||||
new_session,
|
||||
true, // from_agent_mode - skip session resume and verbose welcome
|
||||
Some(agent_name), // agent name for prompt (e.g., "butler>")
|
||||
)
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user