Skip to main content

build_opencode_command_sync

Function build_opencode_command_sync 

Source
pub fn build_opencode_command_sync(
    binary: &Path,
    model: &str,
    prompt: &str,
    input_text: &str,
) -> Result<Command, AppError>
Expand description

Build a sync std::process::Command for opencode.

Mirror of build_opencode_command but returns std::process::Command for use in the enrich pipeline which uses wait_timeout (sync).