|
@@ -27,8 +27,7 @@ def search_tavily(
|
|
"""
|
|
"""
|
|
url = "https://api.tavily.com/search"
|
|
url = "https://api.tavily.com/search"
|
|
data = {"query": query, "api_key": api_key}
|
|
data = {"query": query, "api_key": api_key}
|
|
- include_domain = filter_list
|
|
|
|
- response = requests.post(url, include_domain, json=data)
|
|
|
|
|
|
+ response = requests.post(url, json=data)
|
|
response.raise_for_status()
|
|
response.raise_for_status()
|
|
|
|
|
|
json_response = response.json()
|
|
json_response = response.json()
|