There is a small bug in the generate streaming example, specifically the stream actually returns Option<Result<Vec<GenerationResponse>>>, which the example doesnt account for.
This PR updates the README by adding the iteration loop over the returned GenerationResponseStreamChunk(s).
There is a small bug in the generate streaming example, specifically the stream actually returns
Option<Result<Vec<GenerationResponse>>>
, which the example doesnt account for.This PR updates the
README
by adding the iteration loop over the returnedGenerationResponseStreamChunk
(s).