Skip to main content

invoke_codex

Function invoke_codex 

Source
fn invoke_codex(
    model_id: &str,
    mode: Mode,
    stream_stdout: bool,
    system: &str,
    user: &str,
    cwd: &PathBuf,
    verbose: bool,
    color: Style,
    turn_timeout: Duration,
    interrupted: Arc<AtomicBool>,
) -> Result<(String, Usage)>