mlx-bun library API
    Preparing search index...
    interface RestrictedFetchOptions {
        dependencies?: Partial<RestrictedFetchDependencies>;
        headers?: Record<string, string>;
        rejectHttpErrors?: boolean;
        signal?: AbortSignal;
    }
    Index
    dependencies?: Partial<RestrictedFetchDependencies>

    Test seam for deterministic DNS/redirect/body behavior.

    headers?: Record<string, string>

    Request headers applied on every validated redirect hop.

    rejectHttpErrors?: boolean

    Media callers reject non-2xx before reading; web_fetch returns the body.

    signal?: AbortSignal

    Optional caller cancellation, combined with the policy timeout.