diff --git a/examples/ollama-functions-example/ollama_functions_example.go b/examples/ollama-functions-example/ollama_functions_example.go index d7ce720f9..c5b3cfef7 100644 --- a/examples/ollama-functions-example/ollama_functions_example.go +++ b/examples/ollama-functions-example/ollama_functions_example.go @@ -107,7 +107,7 @@ func dispatchCall(c *Call) (llms.MessageContent, bool) { if err != nil { log.Fatal(err) } - return llms.TextParts(schema.ChatMessageTypeHuman, weather), true + return llms.TextParts(schema.ChatMessageTypeSystem, weather), true case "finalResponse": resp, ok := c.Input["response"].(string) if !ok {