openai/codex · error

{label} must be at least {HARD_MIN_MULTI_AGENT_V2_TIMEOUT_MS

Error message

{label} must be at least {HARD_MIN_MULTI_AGENT_V2_TIMEOUT_MS}

What it means

Error "{label} must be at least {HARD_MIN_MULTI_AGENT_V2_TIMEOUT_MS}" thrown in openai/codex.

Source

Thrown at codex-rs/core/src/config/mod.rs:3025

            return preferred;
        }
        for mode in [
            WebSearchMode::Cached,
            WebSearchMode::Live,
            WebSearchMode::Disabled,
        ] {
            if is_allowed(mode) {
                return mode;
            }
        }
    }

    WebSearchMode::Disabled
}

fn validate_multi_agent_v2_wait_timeout(label: &str, value: i64) -> std::io::Result<()> {
    if value < HARD_MIN_MULTI_AGENT_V2_TIMEOUT_MS {
        return Err(std::io::Error::new(
            std::io::ErrorKind::InvalidInput,
            format!("{label} must be at least {HARD_MIN_MULTI_AGENT_V2_TIMEOUT_MS}"),
        ));
    }
    if value > HARD_MAX_MULTI_AGENT_V2_TIMEOUT_MS {
        return Err(std::io::Error::new(
            std::io::ErrorKind::InvalidInput,
            format!("{label} must be at most {HARD_MAX_MULTI_AGENT_V2_TIMEOUT_MS}"),
        ));
    }
    Ok(())
}

fn validate_multi_agent_v2_tool_namespace(namespace: Option<&str>) -> std::io::Result<()> {
    const LABEL: &str = "features.multi_agent_v2.tool_namespace";
    const MAX_LEN: usize = 64;
    const RESERVED_RESPONSES_NAMESPACES: &[&str] = &[
        "api_tool",

View on GitHub (pinned to 339751715c)

Solutions

  1. Raise {label} to at least the required minimum.

When it happens

Trigger: Thrown at codex-rs/core/src/config/mod.rs:3025 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of openai/codex@339751715c (2026-08-25). Data as JSON: /api/errors/0690243bdbf8c48e. Report an issue: GitHub.