From 97432bf1187e7d1bfa3f9d3ee1ef3e55d7b62bb4 Mon Sep 17 00:00:00 2001 From: PhotoPortfolio Developer Date: Thu, 19 Feb 2026 23:57:46 +0800 Subject: [PATCH] Add count base on search count param --- pkg/tools/web.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tools/web.go b/pkg/tools/web.go index 153d81310..236ad06c2 100644 --- a/pkg/tools/web.go +++ b/pkg/tools/web.go @@ -188,6 +188,7 @@ func (p *OllamaSearchProvider) Search(ctx context.Context, query string, count i // Call Ollama REST API for web search requestBody := map[string]interface{}{ p.queryParam: query, + "count": count, } bodyJSON, _ := json.Marshal(requestBody)