Skip to main content

maybe_run_opencode_ask

Function maybe_run_opencode_ask 

Source
pub fn maybe_run_opencode_ask(
    home: &AgentsHome,
    params: &Value,
    name: &str,
) -> Option<i32>
Expand description

Returns None for a non-opencode target (fall through to the next provider’s ask hook), or Some(2) after printing the refusal.