Skip to main content

build_gemini_side_question_argv

Function build_gemini_side_question_argv 

Source
pub(crate) fn build_gemini_side_question_argv(
    policy_path: &str,
    model: Option<&str>,
) -> Vec<String>
Expand description

Build the argv for a /btw side question on a Gemini pane: headless stream-json with GEMINI_DENY_ALL_TOOLS_POLICY at policy_path, and approval mode default instead of the pane’s --yolo. No --skip-trust: trusting the folder would load the project’s own Gemini settings, hooks included, so /btw gets the same trust as the pane.