mlx-bun library API
    Preparing search index...
    • Request-owned sampling and output metadata. Execution groups receive token tensors and an output callback; they need no logprob or retention policy.

      Parameters

      Returns {
          dispose: () => void;
          onToken: TokenSink;
          plainGreedy: boolean;
          sample: (logits: MlxArray, step: number) => MlxArray;
      }