From e1b2538264ee966ce2fd46cd723b78310d3c1323 Mon Sep 17 00:00:00 2001 From: JexSrs Date: Thu, 23 May 2024 00:31:03 +0300 Subject: [PATCH] Fix --- functions.go | 4 ---- 1 file changed, 4 deletions(-) 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