diff --git a/pkg/tools/web.go b/pkg/tools/web.go index 804d9d1..ccd9958 100644 --- a/pkg/tools/web.go +++ b/pkg/tools/web.go @@ -171,13 +171,6 @@ func (p *DuckDuckGoSearchProvider) extractResults(html string, count int, query return strings.Join(lines, "\n"), nil } -func min(a, b int) int { - if a < b { - return a - } - return b -} - func stripTags(content string) string { re := regexp.MustCompile(`<[^>]+>`) return re.ReplaceAllString(content, "")