Skip to content

Commit

Permalink
fixed strange ollama input involving someone named fred
Browse files Browse the repository at this point in the history
  • Loading branch information
xssdoctor committed Aug 22, 2024
1 parent a81e5be commit 0ef4e46
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vendors/ollama/ollama.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ func (o *Client) Send(msgs []*common.Message, opts *common.ChatOptions) (ret str
req.Stream = &bf

respFunc := func(resp ollamaapi.ChatResponse) (streamErr error) {
fmt.Print(resp.Message.Content)
fmt.Printf("FRED ==> \n")
ret = resp.Message.Content
return
}
Expand Down

0 comments on commit 0ef4e46

Please sign in to comment.