Add count base on search count param
This commit is contained in:
parent
6a08310ce1
commit
97432bf118
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue