Neutrome SDK reference
    Preparing search index...

    Function retry

    • Retries an executor until it succeeds or runs out of attempts.

      A streaming attempt that has already emitted a chunk is never retried, so a client never sees the same text twice.

      Parameters

      Returns Executor

      An executor that retries on failure.

      const upstream = retry("default/glm-5.2", { attempts: 3 });