Add count base on search count param

This commit is contained in:
PhotoPortfolio Developer 2026-02-19 23:57:46 +08:00
parent 6a08310ce1
commit 97432bf118

View file

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