mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
fixed strange ollama input involving someone named fred
This commit is contained in:
parent
a81e5be74b
commit
0ef4e465e4
2
vendors/ollama/ollama.go
vendored
2
vendors/ollama/ollama.go
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user