Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JexSrs committed May 22, 2024
1 parent c758651 commit e1b2538
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e1b2538

Please sign in to comment.