fixed strange ollama input involving someone named fred

This commit is contained in:
xssdoctor 2024-08-21 20:05:18 -04:00
parent a81e5be74b
commit 0ef4e465e4

View File

@ -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
}