Skip to main content

test_exec_context

Function test_exec_context 

Source
pub fn test_exec_context(
    turn: TurnId,
    call_id: ToolCallId,
    workdir: PathBuf,
) -> (ExecContext, Receiver<ProgressEvent>)
Expand description

Builder counterpart for ExecContext. Uses a default Config and empty model_id — tests that specifically exercise subagent model inheritance should construct ExecContext::new directly with their chosen values.