diff --git a/functions.go b/functions.go index 70966c5..a201730 100644 --- a/functions.go +++ b/functions.go @@ -478,10 +478,6 @@ func (o *Ollama) newGenerateEmbeddingsFunc() GenerateEmbeddingsFunc { f(&req) } - if req.StreamBufferSize == nil { - req.StreamBufferSize = pointer(1024) - } - body, err := o.Do("/api/embeddings", req, 0, nil) if err != nil { return nil, err