llmPollToken method

String llmPollToken(
  1. int handle
)

Poll for next streamed token. Returns JSON: {"s":0,"t":"token"} — token chunk {"s":1,...stats} — done {"s":2} — empty, still generating

Implementation

String llmPollToken(int handle) => _consume(_llmPollToken(handle));