tavily-ai / tavily-python

A python wrapper for Tavily search API
https://docs.tavily.com
MIT License
112 stars 21 forks source link

Expose timeout to search function #11

Open captain828 opened 5 months ago

captain828 commented 5 months ago

Right now, a fixed timeout is used in the internal _search function of 100 seconds.

tavily.py:37 - response = requests.post(self.base_url, data=json.dumps(data), headers=self.headers, timeout=100)

I want to suggest the following improvements:

Let me know what you think.