WithStreamingReasoningFunc is untested and not working with Ollama and Claude

Author: uvulposCreated Apr 15, 2026Updated Apr 15, 2026
go
	var res string
        response, responseErr := requestModel.GenerateContent(
                 // ...
		llms.WithTemperature(0),
		llms.WithStreamingReasoningFunc(func(ctx context.Context, reasoning []byte, chunk []byte) error {
			res += string(reasoning)
			res += string(chunk)
			return nil
		}),
	)

	godump.Dump(res)
<#dump // src/.../request_rag.go:000
"" #string