Update pkg/tools/web.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
c8a553f109
commit
ef1989f12e
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ func (p *TavilySearchProvider) Search(ctx context.Context, query string, count i
|
||||||
|
|
||||||
client, err := createHTTPClient(p.proxy, 10*time.Second)
|
client, err := createHTTPClient(p.proxy, 10*time.Second)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", fmt.Errorf("failed to create http client: %w", err)
|
return "", fmt.Errorf("failed to create HTTP client: %w", err)
|
||||||
}
|
}
|
||||||
resp, err := client.Do(req)
|
resp, err := client.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue