nikivdev/code · error

Everruns base URL is empty

Error message

Everruns base URL is empty

What it means

Error "Everruns base URL is empty" thrown in nikivdev/code.

Source

Thrown at src/ai_everruns.rs:727

            base_url,
            api_key,
            session_id,
            agent_id,
            harness_id,
            model_id,
            poll_ms: opts.poll_ms.max(25),
            wait_timeout_secs: opts.wait_timeout_secs.max(1),
            seq_socket,
            seq_timeout_ms: opts.seq_timeout_ms.max(1),
            no_seq_tools: opts.no_seq_tools,
        })
    }
}

fn normalize_base_url(raw: &str) -> Result<String> {
    let mut url = raw.trim().to_string();
    if url.is_empty() {
        bail!("Everruns base URL is empty");
    }
    while url.ends_with('/') {
        url.pop();
    }
    if !url.starts_with("http://") && !url.starts_with("https://") {
        bail!(
            "invalid Everruns base URL '{}': must start with http:// or https://",
            raw
        );
    }
    Ok(url)
}

fn resolve_seq_socket_path(cli_socket: Option<PathBuf>) -> PathBuf {
    if let Some(path) = cli_socket {
        return path;
    }
    if let Some(path) = env_non_empty("SEQ_SOCKET_PATH") {

View on GitHub (pinned to a747e741ae)

When it happens

Trigger: Thrown at src/ai_everruns.rs:727 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01). Data as JSON: /api/errors/6aaac01d7ea7fa60. Report an issue: GitHub.