Skip to main content

wait_for_gateway

Function wait_for_gateway 

Source
pub async fn wait_for_gateway(
    client: &Client,
    gateway_url: &str,
    timeout: Duration,
    interval: Duration,
    skip_llm_ready_check: bool,
) -> Result<(), Error>
Expand description

Wait until the gateway is live and, unless skipped, its upstream is ready.

ยงErrors

Returns a configuration error when the timeout expires.